Skip to content

Commit 5f04b1b

Browse files
committed
Rollup merge of #27202 - apasel422:issue-21174, r=alexcrichton
2 parents 5665efd + 18f115c commit 5f04b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-21174.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait Trait<'a> {
1515

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

2121
fn main() { }

0 commit comments

Comments
 (0)