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
453b51a65ab00939d2dce3de24ce38489b5c7eb6
rust
/
tests
/
ui
/
pub
/
pub-ident-struct-with-lifetime.rs
5 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
Suggest an appropriate token when encountering `pub Ident<'a>`
2018-11-26 10:11:46 -08:00
pub
S
<
'
a
>
{
Add suggestions for possible missing `fn`, `struct`, or `enum` keywords
2024-07-06 13:14:53 +03:00
//~^ ERROR missing `enum` or `struct` for enum or struct definition
Suggest an appropriate token when encountering `pub Ident<'a>`
2018-11-26 10:11:46 -08:00
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink