rust/tests/ui/trivial-bounds/trivial-bounds-inconsistent-projection.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.4 KiB
Plaintext
Raw Normal View History

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