We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This program
static FOO: uint = 10; pub enum Thing { Foo = FOO }
throws a dead_code warning, but shouldn't:
dead_code
test.rs:1:0: 1:22 warning: code is never used: `FOO`, #[warn(dead_code)] on by default test.rs:1 static FOO: uint = 10; ^~~~~~~~~~~~~~~~~~~~~~