blob: abbf64058204a13f19e84f7e08ce691a8bf3c14a [file] [log] [blame]
use std::marker;
struct Foo<A, B, C = (A, B)>(
marker::PhantomData<(A,B,C)>);
impl<A, B, C> Foo<A, B, C> {
fn new() -> Foo<A, B, C> {Foo(marker::PhantomData)}
}
fn main() {
Foo::<isize>::new();
//~^ ERROR wrong number of type arguments
}