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
58e901b6fd1163172149fd422565523b17eed5f0
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
(
)
{
}
Reference in New Issue
Copy Permalink