summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-3969.stderr
blob: 79018080886c0561d33fc88fe31890911f4ccd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
  --> $DIR/ice-3969.rs:20:10
   |
LL |     str: Sized;
   |          ^^^^^
   |
   = note: `-D trivial-bounds` implied by `-D warnings`

error: trait bound for<'a> Dst<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
  --> $DIR/ice-3969.rs:24:30
   |
LL |     for<'a> Dst<dyn A + 'a>: Sized,
   |                              ^^^^^

error: trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
  --> $DIR/ice-3969.rs:31:10
   |
LL |     str: Sized,
   |          ^^^^^

error: trait bound std::string::String: std::ops::Neg does not depend on any type or lifetime parameters
  --> $DIR/ice-3969.rs:38:13
   |
LL |     String: ::std::ops::Neg<Output = String>,
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: trait bound i32: std::iter::Iterator does not depend on any type or lifetime parameters
  --> $DIR/ice-3969.rs:45:10
   |
LL |     i32: Iterator,
   |          ^^^^^^^^

error: aborting due to 5 previous errors