Skip to content

Commit

Permalink
update compile-fail test for rust-lang#21174 to account for rust-lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
apasel422 committed Jul 21, 2015
1 parent 21dfd24 commit 18f115c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-21174.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() { }

0 comments on commit 18f115c

Please sign in to comment.