test: Fix error message in vtable-res-trait-param
This commit is contained in:
parent
a35dc85b68
commit
c2fc7316a9
|
@ -14,7 +14,7 @@ impl int: TraitB {
|
||||||
|
|
||||||
fn call_it<B: TraitB>(b: B) -> int {
|
fn call_it<B: TraitB>(b: B) -> int {
|
||||||
let y = 4u;
|
let y = 4u;
|
||||||
b.gimme_an_a(y) //~ ERROR failed to find an implementation of trait @TraitA for uint
|
b.gimme_an_a(y) //~ ERROR failed to find an implementation of trait @TraitA
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Reference in New Issue