This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-05 06:27:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c5819b2b9b
rust
/
tests
/
ui
/
parser
/
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 13:58:31 +00:00
fn
foo
<
#[
attr
]
>
(
)
{
}
//~ ERROR attribute without generic parameters
Add test for generic parameter list solely containing an attribute
2019-02-07 09:58:08 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink