Skip to content

Commit d56cdd4

Browse files
author
George-lewis
committed
Bless tests
Update tests
1 parent 9f327a2 commit d56cdd4

File tree

407 files changed

+1364
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+1364
-318
lines changed

tests/rustdoc-ui/feature-gate-custom_code_classes_in_docs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//~^^^ WARNING custom classes in code blocks will change behaviour
77
//~| NOTE found these custom classes: class=language-c
88
//~| NOTE see issue #79483 <https://github.com/rust-lang/rust/issues/79483>
9+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910
//~| HELP add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable
1011
pub struct Bar;
1112

tests/rustdoc-ui/feature-gate-custom_code_classes_in_docs.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ LL | | /// ```
88
|
99
= note: see issue #79483 <https://github.com/rust-lang/rust/issues/79483> for more information
1010
= help: add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable
11+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1112
= note: found these custom classes: class=language-c
1213

1314
warning: 1 warning emitted

tests/rustdoc-ui/feature-gate-doc_cfg_hide.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | #![doc(cfg_hide(test))]
66
|
77
= note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
88
= help: add `#![feature(doc_cfg_hide)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error: aborting due to 1 previous error
1112

tests/rustdoc-ui/intra-doc/feature-gate-intra-doc-pointers.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | //! [pointer::add]
66
|
77
= note: see issue #80896 <https://github.com/rust-lang/rust/issues/80896> for more information
88
= help: add `#![feature(intra_doc_pointers)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910
= note: rustdoc does not allow disambiguating between `*const` and `*mut`, and pointers are unstable until it does
1011

1112
error[E0658]: linking to associated items of raw pointers is experimental
@@ -16,6 +17,7 @@ LL | //! [pointer::wrapping_add]
1617
|
1718
= note: see issue #80896 <https://github.com/rust-lang/rust/issues/80896> for more information
1819
= help: add `#![feature(intra_doc_pointers)]` to the crate attributes to enable
20+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1921
= note: rustdoc does not allow disambiguating between `*const` and `*mut`, and pointers are unstable until it does
2022

2123
error: aborting due to 2 previous errors

tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
//~^ ERROR unknown lint
66
//~| NOTE lint is unstable
77
//~| NOTE see issue
8+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ LL | #![allow(rustdoc::missing_doc_code_examples)]
77
= note: the `rustdoc::missing_doc_code_examples` lint is unstable
88
= note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
99
= help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
10+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1011
note: the lint level is defined here
1112
--> $DIR/feature-gate-rustdoc_missing_doc_code_examples.rs:2:9
1213
|
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,31 @@
1+
// ignore-stage1
12
// compile-flags: -Zdeduplicate-diagnostics=yes
23
extern crate rustc_data_structures;
34
//~^ use of unstable library feature 'rustc_private'
5+
//~| NOTE: issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
6+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
47
extern crate rustc_macros;
58
//~^ use of unstable library feature 'rustc_private'
9+
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
10+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
611
extern crate rustc_query_system;
712
//~^ use of unstable library feature 'rustc_private'
13+
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
14+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
815

916
use rustc_macros::HashStable;
1017
//~^ use of unstable library feature 'rustc_private'
18+
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
19+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1120

1221
#[derive(HashStable)]
1322
//~^ use of unstable library feature 'rustc_private'
23+
//~| NOTE: in this expansion of #[derive(HashStable)]
24+
//~| NOTE: in this expansion of #[derive(HashStable)]
25+
//~| NOTE: in this expansion of #[derive(HashStable)]
26+
//~| NOTE: in this expansion of #[derive(HashStable)]
27+
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
28+
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1429
struct Test;
1530

1631
fn main() {}

tests/ui-fulldeps/hash-stable-is-unstable.stderr

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,52 @@
11
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2-
--> $DIR/hash-stable-is-unstable.rs:2:1
2+
--> $DIR/hash-stable-is-unstable.rs:3:1
33
|
44
LL | extern crate rustc_data_structures;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
88
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
11-
--> $DIR/hash-stable-is-unstable.rs:4:1
12+
--> $DIR/hash-stable-is-unstable.rs:7:1
1213
|
1314
LL | extern crate rustc_macros;
1415
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
1516
|
1617
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
1718
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
19+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

1921
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
20-
--> $DIR/hash-stable-is-unstable.rs:6:1
22+
--> $DIR/hash-stable-is-unstable.rs:11:1
2123
|
2224
LL | extern crate rustc_query_system;
2325
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2426
|
2527
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
2628
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
29+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2730

2831
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
29-
--> $DIR/hash-stable-is-unstable.rs:9:5
32+
--> $DIR/hash-stable-is-unstable.rs:16:5
3033
|
3134
LL | use rustc_macros::HashStable;
3235
| ^^^^^^^^^^^^^^^^^^^^^^^^
3336
|
3437
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
3538
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
39+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3640

3741
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
38-
--> $DIR/hash-stable-is-unstable.rs:12:10
42+
--> $DIR/hash-stable-is-unstable.rs:21:10
3943
|
4044
LL | #[derive(HashStable)]
4145
| ^^^^^^^^^^
4246
|
4347
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
4448
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
49+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4550
= note: this error originates in the derive macro `HashStable` (in Nightly builds, run with -Z macro-backtrace for more info)
4651

4752
error: aborting due to 5 previous errors

tests/ui-fulldeps/pathless-extern-unstable.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// edition:2018
2+
// ignore-stage1
23
// compile-flags:--extern rustc_middle
34

45
// Test that `--extern rustc_middle` fails with `rustc_private`.

tests/ui-fulldeps/pathless-extern-unstable.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2-
--> $DIR/pathless-extern-unstable.rs:6:9
2+
--> $DIR/pathless-extern-unstable.rs:7:9
33
|
44
LL | pub use rustc_middle;
55
| ^^^^^^^^^^^^
66
|
77
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
88
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error: aborting due to 1 previous error
1112

tests/ui/array-slice-vec/suggest-array-length.stderr

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ LL | const Foo: [i32; _] = [1, 2, 3];
4848
|
4949
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
5050
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
51+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5152

5253
error[E0658]: using `_` for array lengths is unstable
5354
--> $DIR/suggest-array-length.rs:8:26
@@ -57,6 +58,7 @@ LL | const REF_FOO: &[u8; _] = &[1];
5758
|
5859
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
5960
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
61+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6062

6163
error[E0658]: using `_` for array lengths is unstable
6264
--> $DIR/suggest-array-length.rs:11:20
@@ -66,6 +68,7 @@ LL | let foo: [i32; _] = [1, 2, 3];
6668
|
6769
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
6870
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
71+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6972

7073
error[E0658]: using `_` for array lengths is unstable
7174
--> $DIR/suggest-array-length.rs:14:20
@@ -75,6 +78,7 @@ LL | let bar: [i32; _] = [0; 3];
7578
|
7679
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
7780
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
81+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7882

7983
error[E0658]: using `_` for array lengths is unstable
8084
--> $DIR/suggest-array-length.rs:17:25
@@ -84,6 +88,7 @@ LL | let ref_foo: &[i32; _] = &[1, 2, 3];
8488
|
8589
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
8690
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
91+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
8792

8893
error[E0658]: using `_` for array lengths is unstable
8994
--> $DIR/suggest-array-length.rs:20:25
@@ -93,6 +98,7 @@ LL | let ref_bar: &[i32; _] = &[0; 3];
9398
|
9499
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
95100
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
101+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
96102

97103
error[E0658]: using `_` for array lengths is unstable
98104
--> $DIR/suggest-array-length.rs:23:35
@@ -102,6 +108,7 @@ LL | let multiple_ref_foo: &&[i32; _] = &&[1, 2, 3];
102108
|
103109
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
104110
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
111+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
105112

106113
error: aborting due to 14 previous errors
107114

tests/ui/associated-consts/issue-105330.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ LL | fn foo<A: TraitWAssocConst<A=32>>() {
2323
|
2424
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
2525
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
26+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2627

2728
error[E0658]: associated const equality is incomplete
2829
--> $DIR/issue-105330.rs:15:29
@@ -32,6 +33,7 @@ LL | fn main<A: TraitWAssocConst<A=32>>() {
3233
|
3334
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
3435
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
36+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3537

3638
error[E0562]: `impl Trait` is not allowed in impl headers
3739
--> $DIR/issue-105330.rs:6:27

tests/ui/associated-consts/issue-93835.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ LL | type_ascribe!(p, a<p:p<e=6>>);
2424
|
2525
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
2626
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
27+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2728

2829
error[E0658]: associated type bounds are unstable
2930
--> $DIR/issue-93835.rs:4:24
@@ -33,6 +34,7 @@ LL | type_ascribe!(p, a<p:p<e=6>>);
3334
|
3435
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
3536
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
37+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3638

3739
error: aborting due to 5 previous errors
3840

tests/ui/associated-inherent-types/assoc-inherent-unstable.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LL | type Data = aux::Owner::Data;
55
| ^^^^^^^^^^^^^^^^
66
|
77
= help: add `#![feature(data)]` to the crate attributes to enable
8+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
89

910
error: aborting due to 1 previous error
1011

tests/ui/associated-inherent-types/dont-select-if-disabled.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ LL | impl S { type P = (); }
1717
|
1818
= note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
1919
= help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
20+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2021

2122
error: aborting due to 2 previous errors
2223

tests/ui/associated-inherent-types/issue-109071.no_gate.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LL | type Item = &[T];
2828
|
2929
= note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
3030
= help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
31+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3132

3233
error[E0223]: ambiguous associated type
3334
--> $DIR/issue-109071.rs:15:22

tests/ui/associated-inherent-types/issue-109768.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LL | type AssocType3 = T;
2828
|
2929
= note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
3030
= help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
31+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3132

3233
error[E0061]: this struct takes 1 argument but 0 arguments were supplied
3334
--> $DIR/issue-109768.rs:10:56

tests/ui/associated-type-bounds/issue-99828.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | fn get_iter(vec: &[i32]) -> impl Iterator<Item = {}> + '_ {
66
|
77
= note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
88
= help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error: expected type, found constant
1112
--> $DIR/issue-99828.rs:1:50

tests/ui/associated-type-bounds/return-type-notation/bad-inputs-and-output.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LL | fn foo<T: Trait<method(i32): Send>>() {}
1212
|
1313
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
1414
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
15+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1516

1617
error[E0658]: associated type bounds are unstable
1718
--> $DIR/bad-inputs-and-output.rs:14:17
@@ -21,6 +22,7 @@ LL | fn bar<T: Trait<method() -> (): Send>>() {}
2122
|
2223
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
2324
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
25+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2426

2527
warning: the feature `return_type_notation` is incomplete and may not be safe to use and/or cause compiler crashes
2628
--> $DIR/bad-inputs-and-output.rs:3:12

tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | fn foo<T: Trait<method(i32): Send>>() {}
66
|
77
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
88
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error: aborting due to 1 previous error
1112

tests/ui/async-await/feature-async-closure.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | let _ = async || {};
66
|
77
= note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information
88
= help: add `#![feature(async_closure)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910
= help: to use an async block, remove the `||`: `async {`
1011

1112
error: aborting due to 1 previous error

tests/ui/async-await/feature-async-for-loop.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | for await _i in core::async_iter::from_iter(0..3) {
66
|
77
= note: see issue #118898 <https://github.com/rust-lang/rust/issues/118898> for more information
88
= help: add `#![feature(async_for_loop)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error[E0658]: `for await` loops are experimental
1112
--> $DIR/feature-async-for-loop.rs:17:13
@@ -15,6 +16,7 @@ LL | for await _i in core::async_iter::from_iter(0..3) {
1516
|
1617
= note: see issue #118898 <https://github.com/rust-lang/rust/issues/118898> for more information
1718
= help: add `#![feature(async_for_loop)]` to the crate attributes to enable
19+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

1921
error: aborting due to 2 previous errors
2022

tests/ui/async-await/issues/issue-95307.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LL | async fn new() -> [u8; _];
1212
|
1313
= note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
1414
= help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
15+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1516

1617
error: aborting due to 2 previous errors
1718

tests/ui/async-await/track-caller/async-block.afn.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LL | let _ = #[track_caller] async {
66
|
77
= note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
88
= help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
9+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

1011
error[E0658]: `#[track_caller]` on closures is currently unstable
1112
--> $DIR/async-block.rs:15:13
@@ -15,6 +16,7 @@ LL | let _ = #[track_caller] async {
1516
|
1617
= note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
1718
= help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
19+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

1921
error[E0658]: `#[track_caller]` on closures is currently unstable
2022
--> $DIR/async-block.rs:23:17
@@ -24,6 +26,7 @@ LL | let _ = #[track_caller] async {
2426
|
2527
= note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
2628
= help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
29+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2730

2831
error: aborting due to 3 previous errors
2932

0 commit comments

Comments
 (0)