blob: d5b9588d674432a912bf874b23e0ad61ad7652ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Test that a local, generic type appearing within a
// *non-fundamental* remote type like `Vec` is not considered local.
//@ aux-build:coherence_lib.rs
extern crate coherence_lib as lib;
use lib::Remote;
struct Local<T>(T);
impl<T> Remote for Vec<Local<T>> { }
//~^ ERROR E0117
fn main() { }
|