You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/macros/macro-local-data-key-priv.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ note: the constant `baz` is defined here
9
9
|
10
10
LL | thread_local!(static baz: f64 = 0.0);
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
-
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
12
+
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_process_attrs` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/thread-local/no-unstable.stderr
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | | }
10
10
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
11
11
= note: the `#[rustc_dummy]` attribute is an internal implementation detail that will never be stable
12
12
= note: the `#[rustc_dummy]` attribute is used for rustc unit tests
13
-
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
13
+
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_process_attrs` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
14
14
15
15
error[E0658]: use of an internal attribute
16
16
--> $DIR/no-unstable.rs:1:1
@@ -38,7 +38,7 @@ LL | | }
38
38
= note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
39
39
= help: add `#![feature(used_with_arg)]` to the crate attributes to enable
40
40
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
41
-
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
41
+
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_process_attrs` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
42
42
43
43
error: `#[used]` attribute cannot be used on constants
44
44
--> $DIR/no-unstable.rs:1:1
@@ -50,7 +50,7 @@ LL | | }
50
50
| |_^
51
51
|
52
52
= help: `#[used]` can only be applied to statics
53
-
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
53
+
= note: this error originates in the macro `$crate::thread::local_impl::thread_local_process_attrs` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments