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`
9 error[E0308]: mismatched types
10 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24
12 LL | let _seetype: () = z;
13 | -- ^ expected `()`, found `u64`
15 | expected due to this
17 error[E0034]: multiple applicable items in scope
18 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15
21 | ^^^ multiple `foo` found
23 note: candidate #1 is defined in an impl of the trait `X` for the type `T`
24 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:43:9
26 LL | fn foo(self: Smaht<Self, u64>) -> u64 {
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 note: candidate #2 is defined in an impl of the trait `NuisanceFoo` for the type `T`
29 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70:9
33 note: candidate #3 is defined in the trait `FinalFoo`
34 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:57:5
36 LL | fn foo(&self) -> u8;
37 | ^^^^^^^^^^^^^^^^^^^^
38 help: disambiguate the associated function for candidate #1
40 LL | let z = X::foo(x);
42 help: disambiguate the associated function for candidate #2
44 LL | let z = NuisanceFoo::foo(x);
46 help: disambiguate the associated function for candidate #3
48 LL | let z = FinalFoo::foo(x);
51 error[E0308]: mismatched types
52 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137:24
54 LL | let _seetype: () = z;
55 | -- ^ expected `()`, found `u8`
57 | expected due to this
59 error[E0308]: mismatched types
60 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24
62 LL | let _seetype: () = z;
63 | -- ^ expected `()`, found `u32`
65 | expected due to this
67 error[E0308]: mismatched types
68 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24
70 LL | let _seetype: () = z;
71 | -- ^ expected `()`, found `u32`
73 | expected due to this
75 error: aborting due to 6 previous errors
77 Some errors have detailed explanations: E0034, E0308.
78 For more information about an error, try `rustc --explain E0034`.