fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.1 KiB35 linesraw
1error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
2  --> $DIR/ice-3969.rs:20:10
3   |
4LL |     str: Sized;
5   |          ^^^^^
6   |
7   = note: `-D trivial-bounds` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(trivial_bounds)]`
9
10error: trait bound for<'a> Dst<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
11  --> $DIR/ice-3969.rs:26:30
12   |
13LL |     for<'a> Dst<dyn A + 'a>: Sized,
14   |                              ^^^^^
15
16error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
17  --> $DIR/ice-3969.rs:34:10
18   |
19LL |     str: Sized,
20   |          ^^^^^
21
22error: trait bound std::string::String: std::ops::Neg does not depend on any type or lifetime parameters
23  --> $DIR/ice-3969.rs:42:13
24   |
25LL |     String: ::std::ops::Neg<Output = String>,
26   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27
28error: trait bound i32: std::iter::Iterator does not depend on any type or lifetime parameters
29  --> $DIR/ice-3969.rs:50:10
30   |
31LL |     i32: Iterator,
32   |          ^^^^^^^^
33
34error: aborting due to 5 previous errors
35