]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/coherence-lone-type-parameter.rs
Implement new orphan rule that requires that impls of remote traits meet the followin...
[rust.git] / src / test / compile-fail / coherence-lone-type-parameter.rs
index 0223dacd8eca0754761e73fa2a06fc448de8f730..917438722de4e9c01767325dc030e10bae7fee0d 100644 (file)
@@ -13,6 +13,6 @@
 extern crate "coherence-lib" as lib;
 use lib::Remote;
 
-impl<T> Remote for T { } //~ ERROR E0117
+impl<T> Remote for T { } //~ ERROR type parameter `T` is not constrained
 
 fn main() { }