blob: 130cc39d0af817a334d11a1dd0ecb4e14341dd0a [file] [log] [blame]
// Test that a local type (with no type parameters) 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;
impl Remote for Vec<Local> { }
//~^ ERROR E0117
fn main() { }