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
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust
/
tests
/
ui
/
pub
/
pub-ident-with-lifetime-incomplete.rs
6 lines
97 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
fn
main
(
)
{
}
Add suggestions for possible missing `fn`, `struct`, or `enum` keywords
2024-07-06 13:14:53 +03:00
pub
foo
<
'
a
>
Use appropriate terminology based on heuristic
2018-11-30 15:05:13 -08:00
//~^ ERROR missing `fn` or `struct` for function or struct definition
Reference in New Issue
Copy Permalink