]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | warning: where clause not allowed here |
f2b60f7d | 2 | --> $DIR/type-alias-where-fixable.rs:13:16 |
5e7ed085 FG |
3 | | |
4 | LL | type Assoc where u32: Copy = (); | |
5 | | ^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `#[warn(deprecated_where_clause_location)]` on by default | |
8 | = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information | |
9 | help: move it to the end of the type declaration | |
10 | | | |
11 | LL - type Assoc where u32: Copy = (); | |
12 | LL + type Assoc = () where u32: Copy; | |
923072b8 | 13 | | |
5e7ed085 FG |
14 | |
15 | warning: where clause not allowed here | |
f2b60f7d | 16 | --> $DIR/type-alias-where-fixable.rs:16:17 |
5e7ed085 FG |
17 | | |
18 | LL | type Assoc2 where u32: Copy = () where i32: Copy; | |
19 | | ^^^^^^^^^^^^^^^ | |
20 | | | |
21 | = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information | |
22 | help: move it to the end of the type declaration | |
23 | | | |
24 | LL - type Assoc2 where u32: Copy = () where i32: Copy; | |
25 | LL + type Assoc2 = () where i32: Copy, u32: Copy; | |
923072b8 | 26 | | |
5e7ed085 FG |
27 | |
28 | warning: where clause not allowed here | |
f2b60f7d | 29 | --> $DIR/type-alias-where-fixable.rs:24:17 |
5e7ed085 FG |
30 | | |
31 | LL | type Assoc2 where u32: Copy, i32: Copy = (); | |
32 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
33 | | | |
34 | = note: see issue #89122 <https://github.com/rust-lang/rust/issues/89122> for more information | |
35 | help: move it to the end of the type declaration | |
36 | | | |
37 | LL - type Assoc2 where u32: Copy, i32: Copy = (); | |
38 | LL + type Assoc2 = () where u32: Copy, i32: Copy; | |
923072b8 | 39 | | |
5e7ed085 FG |
40 | |
41 | warning: 3 warnings emitted | |
42 |