mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-27 04:31:18 +00:00
15 lines
521 B
Plaintext
15 lines
521 B
Plaintext
error[E0283]: type annotations needed
|
|
--> $DIR/unstable_impl_method_selection.rs:11:12
|
|
|
|
|
LL | vec![].foo();
|
|
| ^^^ cannot infer type for struct `Vec<_>`
|
|
|
|
|
= note: multiple `impl`s satisfying `Vec<_>: Trait` found in the `unstable_impl_method_selection_aux` crate:
|
|
- impl Trait for Vec<u32>;
|
|
- impl Trait for Vec<u64>
|
|
where feature(bar) is enabled;
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|