about summary refs log tree commit diff
path: root/tests/crashes/139556.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/crashes/139556.rs')
-rw-r--r--tests/crashes/139556.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/crashes/139556.rs b/tests/crashes/139556.rs
deleted file mode 100644
index 60dc8d7c3af..00000000000
--- a/tests/crashes/139556.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-//@ known-bug: #139556
-
-trait T {}
-
-type Alias<'a> = impl T;
-
-struct S;
-impl<'a> T for &'a S {}
-
-#[define_opaque(Alias)]
-fn with_positive(fun: impl Fn(Alias<'_>)) {
-    with_positive(|&n| ());
-}