fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0308]: mismatched types 2 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:85:24 3 | 4LL | let _seetype: () = z; 5 | -- ^ expected `()`, found `u32` 6 | | 7 | expected due to this 8 9error[E0308]: mismatched types 10 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24 11 | 12LL | let _seetype: () = z; 13 | -- ^ expected `()`, found `u64` 14 | | 15 | expected due to this 16 17error[E0034]: multiple applicable items in scope 18 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15 19 | 20LL | let z = x.foo(); 21 | ^^^ multiple `foo` found 22 | 23note: candidate #1 is defined in an impl of the trait `internal::X` for the type `_` 24 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:43:9 25 | 26LL | fn foo(self: Smaht<Self, u64>) -> u64 { 27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 28 = help: to disambiguate the method call, write `internal::X::foo(x)` instead 29note: candidate #2 is defined in an impl of the trait `nuisance_foo::NuisanceFoo` for the type `_` 30 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:70:9 31 | 32LL | fn foo(self) {} 33 | ^^^^^^^^^^^^ 34 = help: to disambiguate the method call, write `nuisance_foo::NuisanceFoo::foo(x)` instead 35note: candidate #3 is defined in the trait `FinalFoo` 36 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:57:5 37 | 38LL | fn foo(&self) -> u8; 39 | ^^^^^^^^^^^^^^^^^^^^ 40 = help: to disambiguate the method call, write `FinalFoo::foo(x)` instead 41 42error[E0308]: mismatched types 43 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:137:24 44 | 45LL | let _seetype: () = z; 46 | -- ^ expected `()`, found `u8` 47 | | 48 | expected due to this 49 50error[E0308]: mismatched types 51 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24 52 | 53LL | let _seetype: () = z; 54 | -- ^ expected `()`, found `u32` 55 | | 56 | expected due to this 57 58error[E0308]: mismatched types 59 --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24 60 | 61LL | let _seetype: () = z; 62 | -- ^ expected `()`, found `u32` 63 | | 64 | expected due to this 65 66error: aborting due to 6 previous errors 67 68Some errors have detailed explanations: E0034, E0308. 69For more information about an error, try `rustc --explain E0034`.