summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/auxiliary')
-rw-r--r--tests/ui/issues/auxiliary/issue-111011.stderr2
-rw-r--r--tests/ui/issues/auxiliary/issue-29181.rs5
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/ui/issues/auxiliary/issue-111011.stderr b/tests/ui/issues/auxiliary/issue-111011.stderr
index 082f0f035..c0b48c584 100644
--- a/tests/ui/issues/auxiliary/issue-111011.stderr
+++ b/tests/ui/issues/auxiliary/issue-111011.stderr
@@ -17,7 +17,7 @@ LL | bar(async move || {});
| arguments to this function are incorrect
|
= note: expected struct `Box<(dyn FnOnce() -> _ + 'static)>`
- found closure `[closure@$DIR/issue-111011.rs:11:9: 11:22]`
+ found closure `{closure@$DIR/issue-111011.rs:11:9: 11:22}`
= note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
note: function defined here
--> $DIR/issue-111011.rs:7:4
diff --git a/tests/ui/issues/auxiliary/issue-29181.rs b/tests/ui/issues/auxiliary/issue-29181.rs
deleted file mode 100644
index bd1a9be4e..000000000
--- a/tests/ui/issues/auxiliary/issue-29181.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-#![crate_type="lib"]
-
-pub mod foo {
- pub use super::*;
-}