Skip to content

Commit

Permalink
Rollup merge of rust-lang#27202 - apasel422:issue-21174, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jul 22, 2015
2 parents 475b59b + 18f115c commit 12e17ad
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 12e17ad

Please sign in to comment.