This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
07c993eba8
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 17:39:51 +01:00
// error-pattern:expected statement
Fix damage done by the pretty-printer
2011-07-27 14:48:34 +02:00
fn
f
(
)
{
#[
foo =
"
bar
"
]
}
fn
main
(
)
{
}
Copy permalink