diff --git a/src/test/compile-fail/unsized3.rs b/src/test/compile-fail/unsized3.rs index c07dcf93683..4f1f21f6c0e 100644 --- a/src/test/compile-fail/unsized3.rs +++ b/src/test/compile-fail/unsized3.rs @@ -68,14 +68,15 @@ impl T1 for S3 { //ERROR instantiating a type parameter with trait T2 { } impl T2 for S3 { //ERROR instantiating a type parameter with an incompatible type `X +*/ // impl - struct trait T3 { } struct S4; -impl T3 for S4 { //ERROR instantiating a type parameter with an incompatible type `X +impl T3 for S4 { //~ ERROR instantiating a type parameter with an incompatible type } -*/ + pub fn main() { }