]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-3969.stderr
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / tests / ui / crashes / ice-3969.stderr
1 error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
2   --> $DIR/ice-3969.rs:20:10
3    |
4 LL |     str: Sized;
5    |          ^^^^^
6    |
7    = note: `-D trivial-bounds` implied by `-D warnings`
8
9 error: trait bound for<'a> Dst<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
10   --> $DIR/ice-3969.rs:24:30
11    |
12 LL |     for<'a> Dst<dyn A + 'a>: Sized,
13    |                              ^^^^^
14
15 error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
16   --> $DIR/ice-3969.rs:31:10
17    |
18 LL |     str: Sized,
19    |          ^^^^^
20
21 error: trait bound std::string::String: std::ops::Neg does not depend on any type or lifetime parameters
22   --> $DIR/ice-3969.rs:38:13
23    |
24 LL |     String: ::std::ops::Neg<Output = String>,
25    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
27 error: trait bound i32: std::iter::Iterator does not depend on any type or lifetime parameters
28   --> $DIR/ice-3969.rs:45:10
29    |
30 LL |     i32: Iterator,
31    |          ^^^^^^^^
32
33 error: aborting due to 5 previous errors
34