Stream: t-compiler

Topic: future-compat-to-lint


Alexander Regueiro (Dec 20 2018 at 15:30, on Zulip):

incidentally, for my trait alias PR, I'm converting the future compat warning into a plain old lint... does anyone have suggestions on how to do that? is there a guide somewhere? (maybe we can take this conversation elsewhere.)

nikomatsakis (Dec 20 2018 at 15:30, on Zulip):

@Alexander Regueiro a future-compat warning is a lint

nikomatsakis (Dec 20 2018 at 15:31, on Zulip):

you just have to remove the lint name from the future-compat category or whatever

Alexander Regueiro (Dec 20 2018 at 15:31, on Zulip):

@nikomatsakis I know...

Alexander Regueiro (Dec 20 2018 at 15:31, on Zulip):

aha

Alexander Regueiro (Dec 20 2018 at 15:31, on Zulip):

I see.

Alexander Regueiro (Dec 20 2018 at 15:31, on Zulip):

and you can automatically do allow/deny/warn on it?

nikomatsakis (Dec 20 2018 at 15:33, on Zulip):

I'm not sure about that last part, I have to check

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

ta

nikomatsakis (Dec 20 2018 at 15:33, on Zulip):

I think you can set a default level?

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

yeah, I think so

nikomatsakis (Dec 20 2018 at 15:33, on Zulip):

I don't think that's related to future-compatibility in any particular way

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

what do we want for duplicate traits?

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

auto-traits*

nikomatsakis (Dec 20 2018 at 15:33, on Zulip):

probably warn-by-default

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

warn by default?

Alexander Regueiro (Dec 20 2018 at 15:33, on Zulip):

yep ^

Last update: Nov 16 2019 at 02:40UTC