Files
rust/tests/ui/structs-enums/recover-enum-with-bad-where.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
216 B
Rust
Raw Normal View History

pub enum Foo<T>
where:
2025-06-26 18:08:15 +00:00
//~^ ERROR unexpected colon after `where`
T: Missing, {}
2025-06-26 18:08:15 +00:00
//~^ ERROR cannot find trait `Missing` in this scope
// (evidence that we continue parsing after the erroneous colon)
fn main() {}