|
1 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 1 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
2 | 2 | --> $DIR/opaque-type-unsatisfied-bound.rs:15:16
|
3 | 3 | |
|
4 | 4 | LL | fn weird0() -> impl Sized + !Sized {}
|
5 |
| - | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
6 |
| - | |
7 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 5 | + | ^^^^^^^^^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
8 | 6 |
|
9 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 7 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
10 | 8 | --> $DIR/opaque-type-unsatisfied-bound.rs:15:36
|
11 | 9 | |
|
12 | 10 | LL | fn weird0() -> impl Sized + !Sized {}
|
13 |
| - | ^^ doesn't have a size known at compile-time |
14 |
| - | |
15 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 11 | + | ^^ the trait bound `(): !Sized` is not satisfied |
16 | 12 |
|
17 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 13 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
18 | 14 | --> $DIR/opaque-type-unsatisfied-bound.rs:15:1
|
19 | 15 | |
|
20 | 16 | LL | fn weird0() -> impl Sized + !Sized {}
|
21 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
22 |
| - | |
23 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 17 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
24 | 18 |
|
25 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 19 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
26 | 20 | --> $DIR/opaque-type-unsatisfied-bound.rs:19:16
|
27 | 21 | |
|
28 | 22 | LL | fn weird1() -> impl !Sized + Sized {}
|
29 |
| - | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
30 |
| - | |
31 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 23 | + | ^^^^^^^^^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
32 | 24 |
|
33 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 25 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
34 | 26 | --> $DIR/opaque-type-unsatisfied-bound.rs:19:36
|
35 | 27 | |
|
36 | 28 | LL | fn weird1() -> impl !Sized + Sized {}
|
37 |
| - | ^^ doesn't have a size known at compile-time |
38 |
| - | |
39 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 29 | + | ^^ the trait bound `(): !Sized` is not satisfied |
40 | 30 |
|
41 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 31 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
42 | 32 | --> $DIR/opaque-type-unsatisfied-bound.rs:19:1
|
43 | 33 | |
|
44 | 34 | LL | fn weird1() -> impl !Sized + Sized {}
|
45 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
46 |
| - | |
47 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 35 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
48 | 36 |
|
49 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 37 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
50 | 38 | --> $DIR/opaque-type-unsatisfied-bound.rs:23:16
|
51 | 39 | |
|
52 | 40 | LL | fn weird2() -> impl !Sized {}
|
53 |
| - | ^^^^^^^^^^^ doesn't have a size known at compile-time |
54 |
| - | |
55 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 41 | + | ^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
56 | 42 |
|
57 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 43 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
58 | 44 | --> $DIR/opaque-type-unsatisfied-bound.rs:23:28
|
59 | 45 | |
|
60 | 46 | LL | fn weird2() -> impl !Sized {}
|
61 |
| - | ^^ doesn't have a size known at compile-time |
62 |
| - | |
63 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 47 | + | ^^ the trait bound `(): !Sized` is not satisfied |
64 | 48 |
|
65 |
| -error[E0277]: the size for values of type `()` cannot be known at compilation time |
| 49 | +error[E0277]: the trait bound `(): !Sized` is not satisfied |
66 | 50 | --> $DIR/opaque-type-unsatisfied-bound.rs:23:1
|
67 | 51 | |
|
68 | 52 | LL | fn weird2() -> impl !Sized {}
|
69 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time |
70 |
| - | |
71 |
| - = help: the trait bound `(): !Sized` is not satisfied |
| 53 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait bound `(): !Sized` is not satisfied |
72 | 54 |
|
73 | 55 | error[E0277]: the trait bound `impl !Trait: Trait` is not satisfied
|
74 | 56 | --> $DIR/opaque-type-unsatisfied-bound.rs:12:13
|
|
0 commit comments