This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-05 14:37:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2ef2ac0b51
rust
/
tests
/
ui
/
parser
/
attr-dangling-in-fn.rs
9 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
Add syntax support for attributes on expressions and all syntax nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals.
2015-11-03 16:39:51 +00:00
// error-pattern:expected statement
Fix damage done by the pretty-printer
2011-07-27 12:48:34 +00:00
fn
f
(
)
{
#[
foo =
"
bar
"
]
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink