-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Summary
While trying to do a code with #[allow(unused_variables)] i saw that it shows the warning message even with this line.
Reproducer
I tried this code:
#[allow(unused_variables)]
pub fn main () {
let a = 4;
return ()
}Does the code make use of any (1.49) nightly feature ?
- Nightly
Godbolt link
https://godbolt.org/z/zhW6M4Yv9
Actual behavior
The current behavior is shows unused variables
Expected behavior
I expected to see is not seeing anything
GCC Version
Metadata
Metadata
Assignees
Labels
No labels