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 unit 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 unit 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 = help: to disambiguate the method call, write `internal::X::foo(x)` instead
31 note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `_`
32 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70:9
36 = help: to disambiguate the method call, write `nuisance_foo::NuisanceFoo::foo(x)` instead
37 note: candidate #3 is defined in the trait `FinalFoo`
38 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:57:5
40 LL | fn foo(&self) -> u8;
41 | ^^^^^^^^^^^^^^^^^^^^
42 = help: to disambiguate the method call, write `FinalFoo::foo(x)` instead
44 error[E0308]: mismatched types
45 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137:24
47 LL | let _seetype: () = z;
48 | ^ expected (), found u8
50 = note: expected unit type `()`
53 error[E0308]: mismatched types
54 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24
56 LL | let _seetype: () = z;
57 | ^ expected (), found u32
59 = note: expected unit type `()`
62 error[E0308]: mismatched types
63 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24
65 LL | let _seetype: () = z;
66 | ^ expected (), found u32
68 = note: expected unit type `()`
71 error: aborting due to 6 previous errors
73 Some errors have detailed explanations: E0034, E0308.
74 For more information about an error, try `rustc --explain E0034`.