diff options
Diffstat (limited to 'tests/ui/coherence/coherence-all-remote.rs')
-rw-r--r-- | tests/ui/coherence/coherence-all-remote.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-all-remote.rs b/tests/ui/coherence/coherence-all-remote.rs new file mode 100644 index 000000000..5c3bfee82 --- /dev/null +++ b/tests/ui/coherence/coherence-all-remote.rs @@ -0,0 +1,9 @@ +// aux-build:coherence_lib.rs + +extern crate coherence_lib as lib; +use lib::Remote1; + +impl<T> Remote1<T> for isize { } +//~^ ERROR E0210 + +fn main() { } |