Skip to content

Commit 6f628c9

Browse files
committed
type params on eii
1 parent 1b9ae9e commit 6f628c9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//@ check-fail
2+
// Check that type parameters on EIIs are properly rejected.
3+
// Specifically a regression test for https://github.com/rust-lang/rust/issues/149983.
4+
#![feature(extern_item_impls)]
5+
6+
#[eii]
7+
fn foo<T>() {}

0 commit comments

Comments
 (0)