]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-57924.rs
Auto merge of #86860 - fee1-dead:stabilize, r=LeSeulArtichaut
[rust.git] / src / test / ui / issues / issue-57924.rs
1 pub struct Gcm<E>(E);
2
3 impl<E> Gcm<E> {
4     pub fn crash(e: E) -> Self {
5         Self::<E>(e)
6         //~^ ERROR type arguments are not allowed for this type
7     }
8 }
9
10 fn main() {}