This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a5991c57cf
rust
/
src
/
test
/
ui
/
issues
/
issue-43910.rs
8 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 07:18:55 -05: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-18 01:56:11 -05:00
#![
deny(unused_variables)
]
fn
main
(
)
{
#[
allow(unused_variables)
]
let
x
=
12
;
}
Reference in New Issue
Copy Permalink