fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.3 KiB44 linesraw
1warning: Trait bound B: A does not depend on any type or lifetime parameters
2  --> $DIR/trivial-bounds-inconsistent-projection.rs:21:8
3   |
4LL |     B: A
5   |        ^
6   |
7   = note: `#[warn(trivial_bounds)]` on by default
8
9warning: Trait bound B: A does not depend on any type or lifetime parameters
10  --> $DIR/trivial-bounds-inconsistent-projection.rs:28:8
11   |
12LL |     B: A<X = i32>
13   |        ^^^^^^^^^^
14
15warning: Trait bound B: A does not depend on any type or lifetime parameters
16  --> $DIR/trivial-bounds-inconsistent-projection.rs:35:8
17   |
18LL |     B: A<X = u8>
19   |        ^^^^^^^^^
20
21warning: Trait bound B: A does not depend on any type or lifetime parameters
22  --> $DIR/trivial-bounds-inconsistent-projection.rs:42:8
23   |
24LL |     B: A<X = i32> + A
25   |        ^^^^^^^^^^
26
27warning: Trait bound B: A does not depend on any type or lifetime parameters
28  --> $DIR/trivial-bounds-inconsistent-projection.rs:42:21
29   |
30LL |     B: A<X = i32> + A
31   |                     ^
32
33warning: Trait bound B: A does not depend on any type or lifetime parameters
34  --> $DIR/trivial-bounds-inconsistent-projection.rs:51:8
35   |
36LL |     B: A<X = u8> + A
37   |        ^^^^^^^^^
38
39warning: Trait bound B: A does not depend on any type or lifetime parameters
40  --> $DIR/trivial-bounds-inconsistent-projection.rs:51:20
41   |
42LL |     B: A<X = u8> + A
43   |                    ^
44