diff options
Diffstat (limited to 'src/test/ui/auto-traits/issue-23080-2.rs')
-rw-r--r-- | src/test/ui/auto-traits/issue-23080-2.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/auto-traits/issue-23080-2.rs b/src/test/ui/auto-traits/issue-23080-2.rs deleted file mode 100644 index cb4cf6de1..000000000 --- a/src/test/ui/auto-traits/issue-23080-2.rs +++ /dev/null @@ -1,13 +0,0 @@ -#![feature(auto_traits)] -#![feature(negative_impls)] - -unsafe auto trait Trait { - type Output; //~ ERROR E0380 -} - -fn call_method<T: Trait>(x: T) {} - -fn main() { - // ICE - call_method(()); -} |