11warning: 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
2+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:2:12
33 |
4- LL | #![feature(arbitrary_self_types, coerce_unsized, dispatch_from_dyn, unsize, unsized_locals, unsized_fn_params)]
5- | ^^^^^^^^^^^^^^
4+ LL | #![feature(unsized_locals, unsized_fn_params)]
5+ | ^^^^^^^^^^^^^^
66 |
77 = note: `#[warn(incomplete_features)]` on by default
88 = note: see issue #48055 <https://github.com/rust-lang/rust/issues/48055> for more information
99
1010error[E0308]: mismatched types
11- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:86 :24
11+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:87 :24
1212 |
1313LL | let _seetype: () = z;
1414 | -- ^ expected `()`, found `u32`
1515 | |
1616 | expected due to this
1717
1818error[E0308]: mismatched types
19- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:103 :24
19+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:104 :24
2020 |
2121LL | let _seetype: () = z;
2222 | -- ^ expected `()`, found `u64`
2323 | |
2424 | expected due to this
2525
2626error[E0034]: multiple applicable items in scope
27- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:121 :15
27+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:122 :15
2828 |
2929LL | let z = x.foo();
3030 | ^^^ multiple `foo` found
3131 |
3232note: candidate #1 is defined in an impl of the trait `internal::X` for the type `T`
33- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:44 :9
33+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:45 :9
3434 |
3535LL | fn foo(self: Smaht<Self, u64>) -> u64 {
3636 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3737note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `T`
38- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:71 :9
38+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:72 :9
3939 |
4040LL | fn foo(self) {}
4141 | ^^^^^^^^^^^^
4242note: candidate #3 is defined in the trait `FinalFoo`
43- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:58 :5
43+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:59 :5
4444 |
4545LL | fn foo(&self) -> u8;
4646 | ^^^^^^^^^^^^^^^^^^^^
@@ -58,23 +58,23 @@ LL | let z = FinalFoo::foo(x);
5858 | ^^^^^^^^^^^^^^^^
5959
6060error[E0308]: mismatched types
61- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:138 :24
61+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:139 :24
6262 |
6363LL | let _seetype: () = z;
6464 | -- ^ expected `()`, found `u8`
6565 | |
6666 | expected due to this
6767
6868error[E0308]: mismatched types
69- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:156 :24
69+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:157 :24
7070 |
7171LL | let _seetype: () = z;
7272 | -- ^ expected `()`, found `u32`
7373 | |
7474 | expected due to this
7575
7676error[E0308]: mismatched types
77- --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:173 :24
77+ --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:174 :24
7878 |
7979LL | let _seetype: () = z;
8080 | -- ^ expected `()`, found `u32`
0 commit comments