]> git.lizzy.rs Git - rust.git/blob - tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection.stderr
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / trivial-bounds / trivial-bounds-inconsistent-projection.stderr
1 warning: trait bound B: A does not depend on any type or lifetime parameters
2   --> $DIR/trivial-bounds-inconsistent-projection.rs:21:8
3    |
4 LL |     B: A
5    |        ^
6    |
7    = note: `#[warn(trivial_bounds)]` on by default
8
9 warning: trait bound B: A does not depend on any type or lifetime parameters
10   --> $DIR/trivial-bounds-inconsistent-projection.rs:28:8
11    |
12 LL |     B: A<X = i32>
13    |        ^^^^^^^^^^
14
15 warning: trait bound B: A does not depend on any type or lifetime parameters
16   --> $DIR/trivial-bounds-inconsistent-projection.rs:35:8
17    |
18 LL |     B: A<X = u8>
19    |        ^^^^^^^^^
20
21 warning: trait bound B: A does not depend on any type or lifetime parameters
22   --> $DIR/trivial-bounds-inconsistent-projection.rs:42:8
23    |
24 LL |     B: A<X = i32> + A
25    |        ^^^^^^^^^^
26
27 warning: trait bound B: A does not depend on any type or lifetime parameters
28   --> $DIR/trivial-bounds-inconsistent-projection.rs:42:21
29    |
30 LL |     B: A<X = i32> + A
31    |                     ^
32
33 warning: trait bound B: A does not depend on any type or lifetime parameters
34   --> $DIR/trivial-bounds-inconsistent-projection.rs:51:8
35    |
36 LL |     B: A<X = u8> + A
37    |        ^^^^^^^^^
38
39 warning: trait bound B: A does not depend on any type or lifetime parameters
40   --> $DIR/trivial-bounds-inconsistent-projection.rs:51:20
41    |
42 LL |     B: A<X = u8> + A
43    |                    ^
44
45 warning: 7 warnings emitted
46