We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5665efd + 18f115c commit 5f04b1bCopy full SHA for 5f04b1b
src/test/compile-fail/issue-21174.rs
@@ -15,7 +15,7 @@ trait Trait<'a> {
15
16
fn foo<'a, T: Trait<'a>>(value: T::A) {
17
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]
+//~^ ERROR: cannot transmute to or from a type that contains unsubstituted type parameters [E0139]
19
}
20
21
fn main() { }
0 commit comments