blob: 47df06bac6c14ee8e7f330655e01bf74eb1c5346 [file] [log] [blame]
// 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() { }