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
2
Packages
Projects
Releases
Wiki
Activity
Files
647f1536d2f50b203ca9a67396225c4f7771e1c8
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