2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:21:8
|
2018-06-08 17:00:26 +01:00
|
|
|
|
|
2018-09-16 20:15:49 +03:00
|
|
|
LL | B: A
|
|
|
|
| ^
|
2018-06-08 17:00:26 +01:00
|
|
|
|
|
2019-07-16 22:17:38 +02:00
|
|
|
= note: `#[warn(trivial_bounds)]` on by default
|
2018-06-08 17:00:26 +01:00
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:28:8
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = i32>
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:35:8
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = u8>
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:42:8
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = i32> + A
|
|
|
|
| ^^^^^^^^^^
|
2018-06-08 17:00:26 +01:00
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:42:21
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = i32> + A
|
|
|
|
| ^
|
2018-06-08 17:00:26 +01:00
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2019-11-06 00:00:00 +00:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:51:8
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = u8> + A
|
|
|
|
| ^^^^^^^^^
|
2018-06-08 17:00:26 +01:00
|
|
|
|
2021-10-03 15:53:02 +09:00
|
|
|
warning: trait bound B: A does not depend on any type or lifetime parameters
|
2019-11-06 00:00:00 +00:00
|
|
|
--> $DIR/trivial-bounds-inconsistent-projection.rs:51:20
|
2018-09-16 20:15:49 +03:00
|
|
|
|
|
|
|
|
LL | B: A<X = u8> + A
|
|
|
|
| ^
|
2018-06-08 17:00:26 +01:00
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 7 warnings emitted
|
|
|
|
|