45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:21:8
|
|
|
|
|
LL | B: A
|
|
| ^
|
|
|
|
|
= note: #[warn(trivial_bounds)] on by default
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:28:8
|
|
|
|
|
LL | B: A<X = i32>
|
|
| ^^^^^^^^^^
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:35:8
|
|
|
|
|
LL | B: A<X = u8>
|
|
| ^^^^^^^^^
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:42:8
|
|
|
|
|
LL | B: A<X = i32> + A
|
|
| ^^^^^^^^^^
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:42:21
|
|
|
|
|
LL | B: A<X = i32> + A
|
|
| ^
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:49:8
|
|
|
|
|
LL | B: A<X = u8> + A
|
|
| ^^^^^^^^^
|
|
|
|
warning: Trait bound B: A does not depend on any type or lifetime parameters
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:49:20
|
|
|
|
|
LL | B: A<X = u8> + A
|
|
| ^
|
|
|