Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
structs-enums
/
recover-enum-with-bad-where.rs
blob: cf7747d710b59111669132be7a5e8188266f833b [
file
] [
log
] [
blame
]
pub
enum
Foo
<
T
>
where
:
//~^ ERROR unexpected colon after `where`
T
:
Missing
,
{}
//~^ ERROR cannot find trait `Missing` in this scope
// (evidence that we continue parsing after the erroneous colon)
fn
main
()
{}