]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/duplicate-type-parameter.rs
Make name resolution errors non-fatal
[rust.git] / src / test / compile-fail / duplicate-type-parameter.rs
index 42b67337c64e58bccdbfdfc2890937a5b2532835..3b0f8ee5bda7ac041e72feadd4105ae706e96766 100644 (file)
@@ -33,6 +33,7 @@ trait Qux<T,T> {}
 
 impl<T,T> Qux<T,T> for Option<T> {}
 //~^ ERROR the name `T` is already used
+//~^^ ERROR the type parameter `T` is not constrained
 
 fn main() {
 }