blob: 8846912a8ff79bb11d6daeda27101d845d4f61cd [file] [log] [blame] [edit]
pub struct Gcm<E>(E);
impl<E> Gcm<E> {
pub fn crash(e: E) -> Self {
Self::<E>(e)
//~^ ERROR type arguments are not allowed on self constructor
}
}
fn main() {}