mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
9 lines
216 B
Rust
9 lines
216 B
Rust
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() {}
|