]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/kindck-impl-type-params.rs
Address review commets
[rust.git] / src / test / compile-fail / kindck-impl-type-params.rs
index d4ee93e9ca5d665df18e742aa256643c3de90c07..988a7837b59bf13d15c3ffe041701eb17db1d12d 100644 (file)
@@ -28,7 +28,6 @@ fn f<T>(val: T) {
     let a = &t as &Gettable<T>;
     //~^ ERROR the trait `core::marker::Send` is not implemented
     //~^^ ERROR the trait `core::marker::Copy` is not implemented
-    //~^^^ ERROR the parameter type `T` may not live long enough
 }
 
 fn g<T>(val: T) {