diff options
| author | George-lewis <george-lewis@user.noreply.github.com> | 2024-01-10 01:39:02 -0500 |
|---|---|---|
| committer | George-lewis <george-lewis@user.noreply.github.com> | 2024-01-13 12:46:58 -0500 |
| commit | d56cdd48cba336c4c18e81792871ea39556af847 (patch) | |
| tree | 6212ec8937fe6f05df64836019f35a5216b46d53 /tests/ui/unboxed-closures | |
| parent | 9f327a23852337b05ca39420f042b8d026713d1b (diff) | |
| download | rust-d56cdd48cba336c4c18e81792871ea39556af847.tar.gz rust-d56cdd48cba336c4c18e81792871ea39556af847.zip | |
Bless tests
Update tests
Diffstat (limited to 'tests/ui/unboxed-closures')
| -rw-r--r-- | tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr | 1 | ||||
| -rw-r--r-- | tests/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr b/tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr index d06fa3007df..77aafe227d1 100644 --- a/tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr +++ b/tests/ui/unboxed-closures/unboxed-closure-feature-gate.stderr @@ -6,6 +6,7 @@ LL | let x: Box<dyn Foo(isize)>; | = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error: aborting due to 1 previous error diff --git a/tests/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr b/tests/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr index 9da36906d55..e6f34d7e3b4 100644 --- a/tests/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr +++ b/tests/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr @@ -6,6 +6,7 @@ LL | fn bar1(x: &dyn Fn<(), Output=()>) { | = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change --> $DIR/unboxed-closure-sugar-not-used-on-fn.rs:7:28 @@ -15,6 +16,7 @@ LL | fn bar2<T>(x: &T) where T: Fn<()> { | = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error: aborting due to 2 previous errors |
