You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Later duplicate attributes, e.g. #[ignore(cfg(windows))] #[ignore], are silently ignored #2976
I'd marked a test case with those two attributes, intended to remove the second one later, but the compiler didn't bother with the second one to begin with. This caused a known-buggy test case to run anyway and wedge the build bots on all but windows.
I would have liked to have seen something like warning: duplicate ignore attribute; ignoring the latter
Activity
pcwalton commentedon May 16, 2013
I don't believe this is backwards incompatible.
graydon commentedon Jun 6, 2013
bug in #[ignore] in particular, might be more widespread
nikomatsakis commentedon Jun 6, 2013
What you really want is the union of all ignores, right?
And possibly a warning if you have a #[ignore] and a #[ignore(...)].
graydon commentedon Jun 6, 2013
this shouldn't warn, it should just do the right thing
graydon commentedon Jun 6, 2013
accepted for backwards-compatible milestone
pcwalton commentedon Jun 12, 2013
This was fixed by @luqmana's change. Yay!
Upgrade toolchain to nightly-2024-01-17 (rust-lang#2976)
Merge pull request rust-lang#2976 from rust-lang/tshepang/misc
Merge rust-lang#6953