1 use std::marker::PhantomData;
3 struct Token<T>(PhantomData<T>);
6 fn as_ref(_: i32, _: i32) -> _ {
7 //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
8 //~| NOTE not allowed in type signatures
9 //~| HELP replace with the correct return type
10 Token(PhantomData::<&T>)