]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/impl[t]-foreign[foreign]-for-t.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / coherence / impl[t]-foreign[foreign]-for-t.rs
1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
3
4 extern crate coherence_lib as lib;
5 use lib::*;
6 use std::rc::Rc;
7
8 struct Local;
9
10 impl<T> Remote1<u32> for T {
11     //~^ ERROR type parameter `T` must be used as the type parameter for some local type
12 }
13
14 fn main() {}