]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/type-alias-where.stderr
Point (again) to more expressions with their type, even if not fully resolved
[rust.git] / src / test / ui / parser / type-alias-where.stderr
1 error: where clauses are not allowed after the type for type aliases
2   --> $DIR/type-alias-where.rs:8:15
3    |
4 LL | type Bar = () where u32: Copy;
5    |               ^^^^^^^^^^^^^^^
6    |
7    = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information
8
9 error: where clauses are not allowed after the type for type aliases
10   --> $DIR/type-alias-where.rs:10:15
11    |
12 LL | type Baz = () where;
13    |               ^^^^^
14    |
15    = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information
16
17 error: aborting due to 2 previous errors
18