[rust-dev] no error or warning when an unknown attribute is used

Ilya Dmitrichenko errordeveloper at gmail.com
Wed Jul 16 08:15:33 PDT 2014

On 16 July 2014 15:23, Chris Morgan <me at chrismorgan.info> wrote:
>>> Did it come up as an unused-attribute warning?
>> No, it didn't.
> The simple reason it doesn't come up as an unknown attribute is
> because it did not successfully compile, and so it did not get to the
> step where it warns about unused attributes.

Sure, it's pretty clear what's going on, but I do think it's a bit of
a problem. It's rather hard to spot a misspelled attribute. Should
there be a pre-lint stage for this purpose?

More information about the Rust-dev mailing list