]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coherence/impl[t]-foreign[fundamental[t]_local]-for-foreign.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / coherence / impl[t]-foreign[fundamental[t]_local]-for-foreign.rs
index 24e0f309c45554d69a53c7ce2c427fc0a3cb772f..c9e3594cd342f3a58ec01eb72aaa2b767e736849 100644 (file)
@@ -1,5 +1,3 @@
-#![feature(re_rebalance_coherence)]
-
 // compile-flags:--crate-name=test
 // aux-build:coherence_lib.rs
 
@@ -10,11 +8,11 @@ use std::rc::Rc;
 struct Local;
 
 impl<T> Remote2<Box<T>, Local> for u32 {
-    //~^ ERROR type parameter `T` must be used as the type parameter for some local type
+    //~^ ERROR type parameter `T` must be covered by another type
 }
 
 impl<'a, T> Remote2<&'a T, Local> for u32 {
-    //~^ ERROR type parameter `T` must be used as the type parameter for some local type
+    //~^ ERROR type parameter `T` must be covered by another type
 }
 
 fn main() {}