]> git.lizzy.rs Git - rust.git/commitdiff
update compile-fail test for #21174 to account for #27127
authorAndrew Paseltiner <apaseltiner@gmail.com>
Tue, 21 Jul 2015 20:58:26 +0000 (16:58 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Tue, 21 Jul 2015 20:58:26 +0000 (16:58 -0400)
src/test/compile-fail/issue-21174.rs

index ec258449cb161a72c1154e80c388316cf9473d5a..30fd2eb4d2f9aeb6cfa527f04d3e5c2150b41adc 100644 (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() { }