Sign in
fuchsia
/
third_party
/
rust
/
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
/
.
/
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
()
{}