This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
issues
/
issue-43910.rs
8 lines
102 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
rustc: Add `Local` to the HIR map of parents When walking parents for lints we want to be sure to hit `let` statements which can have attributes, so hook up these statements in the HIR map. Closes #43910
2017-08-17 23:56:11 -07:00
#![
deny(unused_variables)
]
fn
main
(
)
{
#[
allow(unused_variables)
]
let
x
=
12
;
}
Reference in New Issue
Copy Permalink