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
rust
/
tests
/
ui
/
parser
/
attribute
/
attribute-with-no-generics-in-parameter-list.rs
4 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
Add warning for a parameter list with an attribute but no parameters
2019-02-07 14:58:31 +01:00
fn
foo
<
#[
attr
]
>
(
)
{
}
//~ ERROR attribute without generic parameters
Add test for generic parameter list solely containing an attribute
2019-02-07 10:58:08 +01:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink