update compile-fail test for #21174 to account for #27127

This commit is contained in:
Andrew Paseltiner 2015-07-21 16:58:26 -04:00
parent 21dfd24c4b
commit 18f115c2bb

View file

@ -15,7 +15,7 @@ trait Trait<'a> {
fn foo<'a, T: Trait<'a>>(value: T::A) {
let new: T::B = unsafe { std::mem::transmute(value) };
//~^ ERROR: cannot transmute to or from a type that contains type parameters in its interior [E0139]
//~^ ERROR: cannot transmute to or from a type that contains unsubstituted type parameters [E0139]
}
fn main() { }