]> git.proxmox.com Git - rustc.git/blame - src/test/ui/coherence/impl[t]-foreign[t]-for-foreign.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / coherence / impl[t]-foreign[t]-for-foreign.rs
CommitLineData
e74abb32
XL
1// compile-flags:--crate-name=test
2// aux-build:coherence_lib.rs
3
4extern crate coherence_lib as lib;
5use lib::*;
6use std::rc::Rc;
7
8struct Local;
9
10impl<T> Remote1<T> for u32 {
11 //~^ ERROR type parameter `T` must be used as the type parameter for some local type
12}
13
14fn main() {}