summary refs log tree commit diff
path: root/src/test/ui/issues/issue-57924.rs
blob: dc2942225e3de6205b0e6d1c723acbda0b768304 (plain)
1
2
3
4
5
6
7
8
9
10
pub struct Gcm<E>(E);

impl<E> Gcm<E> {
    pub fn crash(e: E) -> Self {
        Self::<E>(e)
        //~^ ERROR type arguments are not allowed for this type
    }
}

fn main() {}