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
fcce644119cf4e8e36001368e514bb5ed67cb855
rust
/
src
/
test
/
ui
/
parser
/
issue-45296.rs
6 lines
108 B
Rust
Raw
Normal View
History
Unescape
Escape
don't issue "expected statement after outer attr." after inner attr. While an inner attribute here is in fact erroneous, that error ("inner attribute is not permitted in this context") successfully gets set earlier; this further admonition is nonsensical. Resolves #45296.
2017-10-15 19:02:45 -07:00
fn
main
(
)
{
let
unused
=
(
)
;
Merge cfail and ui tests into ui tests
2017-11-20 13:13:27 +01:00
#![
allow(unused_variables)
]
//~ ERROR not permitted in this context
don't issue "expected statement after outer attr." after inner attr. While an inner attribute here is in fact erroneous, that error ("inner attribute is not permitted in this context") successfully gets set earlier; this further admonition is nonsensical. Resolves #45296.
2017-10-15 19:02:45 -07:00
}
Reference in New Issue
Copy Permalink