1+ warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes
2+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:1:77
3+ |
4+ LL | #![feature(arbitrary_self_types, coerce_unsized, dispatch_from_dyn, unsize, unsized_locals, unsized_fn_params)]
5+ | ^^^^^^^^^^^^^^
6+ |
7+ = note: `#[warn(incomplete_features)]` on by default
8+ = note: see issue #48055 <https://github.com/rust-lang/rust/issues/48055> for more information
9+
110error[E0308]: mismatched types
2- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:85 :24
11+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:86 :24
312 |
413LL | let _seetype: () = z;
514 | -- ^ expected `()`, found `u32`
615 | |
716 | expected due to this
817
918error[E0308]: mismatched types
10- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102 :24
19+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:103 :24
1120 |
1221LL | let _seetype: () = z;
1322 | -- ^ expected `()`, found `u64`
1423 | |
1524 | expected due to this
1625
1726error[E0034]: multiple applicable items in scope
18- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120 :15
27+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:121 :15
1928 |
2029LL | let z = x.foo();
2130 | ^^^ multiple `foo` found
2231 |
2332note: candidate #1 is defined in an impl of the trait `internal::X` for the type `T`
24- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:43 :9
33+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:44 :9
2534 |
2635LL | fn foo(self: Smaht<Self, u64>) -> u64 {
2736 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2837note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `T`
29- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70 :9
38+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:71 :9
3039 |
3140LL | fn foo(self) {}
3241 | ^^^^^^^^^^^^
3342note: candidate #3 is defined in the trait `FinalFoo`
34- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:57 :5
43+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:58 :5
3544 |
3645LL | fn foo(&self) -> u8;
3746 | ^^^^^^^^^^^^^^^^^^^^
@@ -49,30 +58,30 @@ LL | let z = FinalFoo::foo(x);
4958 | ^^^^^^^^^^^^^^^^
5059
5160error[E0308]: mismatched types
52- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137 :24
61+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:138 :24
5362 |
5463LL | let _seetype: () = z;
5564 | -- ^ expected `()`, found `u8`
5665 | |
5766 | expected due to this
5867
5968error[E0308]: mismatched types
60- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155 :24
69+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:156 :24
6170 |
6271LL | let _seetype: () = z;
6372 | -- ^ expected `()`, found `u32`
6473 | |
6574 | expected due to this
6675
6776error[E0308]: mismatched types
68- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172 :24
77+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:173 :24
6978 |
7079LL | let _seetype: () = z;
7180 | -- ^ expected `()`, found `u32`
7281 | |
7382 | expected due to this
7483
75- error: aborting due to 6 previous errors
84+ error: aborting due to 6 previous errors; 1 warning emitted
7685
7786Some errors have detailed explanations: E0034, E0308.
7887For more information about an error, try `rustc --explain E0034`.
0 commit comments