]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/impl[t]-foreign-for-fundamental[t].rs
1 // compile-flags:--crate-name=test
2 // aux-build:coherence_lib.rs
4 extern crate coherence_lib
as lib
;
10 impl<T
> Remote
for Box
<T
> {
11 //~^ ERROR type parameter `T` must be used as the type parameter for
12 // | some local type (e.g., `MyStruct<T>`)