You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see this happen: The compiler would give a sensible error.
Instead, this happened: The compiler complains that it expected where where I actually do have where:
error: expected `where`, or `{` after struct name, found keyword `where`
--> src/main.rs:29:49
|
29 | pub struct MyStruct<T> where T: AnotherTrait<U> where U: MyTrait {
| ^^^^^ expected `where`, or `{` after struct name
I tried this code:
I expected to see this happen: The compiler would give a sensible error.
Instead, this happened: The compiler complains that it expected
where
where I actually do havewhere
:Meta
rustc --version --verbose
:Backtrace
Adding RUST_BACKTRACE=1 did not produce any additional output.
The text was updated successfully, but these errors were encountered: