diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:52 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:52 -0400 |
| commit | 5f04b1b384204bfad1e1e582b36ef99c78c5cc19 (patch) | |
| tree | 73fa8e52bdc282916ff8836ec93d7f65229042c2 | |
| parent | 5665efd60e20a22f3a401c37070d774aea89b959 (diff) | |
| parent | 18f115c2bbc68419bc83677c3875c91b5428cf8e (diff) | |
| download | rust-5f04b1b384204bfad1e1e582b36ef99c78c5cc19.tar.gz rust-5f04b1b384204bfad1e1e582b36ef99c78c5cc19.zip | |
Rollup merge of #27202 - apasel422:issue-21174, r=alexcrichton
| -rw-r--r-- | src/test/compile-fail/issue-21174.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-21174.rs b/src/test/compile-fail/issue-21174.rs index ec258449cb1..30fd2eb4d2f 100644 --- a/src/test/compile-fail/issue-21174.rs +++ b/src/test/compile-fail/issue-21174.rs @@ -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() { } |
