1 error[E0308]: mismatched types
2 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:85:24
4 LL | let _seetype: () = z;
5 | ^ expected (), found u32
7 = note: expected type `()`
10 error[E0308]: mismatched types
11 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24
13 LL | let _seetype: () = z;
14 | ^ expected (), found u64
16 = note: expected type `()`
19 error[E0034]: multiple applicable items in scope
20 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15
23 | ^^^ multiple `foo` found
25 note: candidate #1 is defined in an impl of the trait `internal::X` for the type `_`
26 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:43:9
28 LL | fn foo(self: Smaht<Self, u64>) -> u64 {
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `_`
31 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70:9
35 note: candidate #3 is defined in the trait `FinalFoo`
36 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:57:5
38 LL | fn foo(&self) -> u8;
39 | ^^^^^^^^^^^^^^^^^^^^
40 = help: to disambiguate the method call, write `FinalFoo::foo(x)` instead
42 error[E0308]: mismatched types
43 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137:24
45 LL | let _seetype: () = z;
46 | ^ expected (), found u8
48 = note: expected type `()`
51 error[E0308]: mismatched types
52 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24
54 LL | let _seetype: () = z;
55 | ^ expected (), found u32
57 = note: expected type `()`
60 error[E0308]: mismatched types
61 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24
63 LL | let _seetype: () = z;
64 | ^ expected (), found u32
66 = note: expected type `()`
69 error: aborting due to 6 previous errors
71 Some errors have detailed explanations: E0034, E0308.
72 For more information about an error, try `rustc --explain E0034`.