about summary refs log tree commit diff
path: root/tests/ui/unstable-feature-bound/unstable_impl_method_selection.stderr
blob: c2bb10f043b2e8390a1d8f8851f13361339d1270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 unstable feature: `bar`;

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0283`.