blob: 2713f088dcb5140286fcb314d42d1a08958291b7 [file] [log] [blame]
use std::marker;
struct Heap;
struct Vec<T, A = Heap>(
marker::PhantomData<(T,A)>);
fn main() {
let _: Vec<isize, Heap, bool>;
//~^ ERROR wrong number of type arguments: expected at most 2, found 3 [E0107]
}