Skip to content

Commit 31cf089

Browse files
committed
fix: const-attr-paths need .stderr issue tracking
1 parent d9f892c commit 31cf089

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

tests/ui/feature-gates/feature-gate-const-attr-paths-unresolved.stderr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ error[E0658]: const item paths in builtin attributes are experimental
44
LL | #[repr(align(UNKNOWN_ALIGN))]
55
| ^^^^^^^^^^^^^
66
|
7+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
78
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
89
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

@@ -13,6 +14,7 @@ error[E0658]: const item paths in builtin attributes are experimental
1314
LL | #[repr(packed(UNKNOWN_PACK))]
1415
| ^^^^^^^^^^^^
1516
|
17+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
1618
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
1719
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

@@ -22,6 +24,7 @@ error[E0658]: const item paths in builtin attributes are experimental
2224
LL | #[rustc_align(UNKNOWN_FN_ALIGN)]
2325
| ^^^^^^^^^^^^^^^^
2426
|
27+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
2528
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
2629
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2730

@@ -31,6 +34,7 @@ error[E0658]: const item paths in builtin attributes are experimental
3134
LL | #[rustc_align_static(UNKNOWN_STATIC_ALIGN)]
3235
| ^^^^^^^^^^^^^^^^^^^^
3336
|
37+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
3438
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
3539
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3640

tests/ui/feature-gates/feature-gate-const-attr-paths.stderr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ error[E0658]: const item paths in builtin attributes are experimental
44
LL | #[repr(align(REPR_ALIGN))]
55
| ^^^^^^^^^^
66
|
7+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
78
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
89
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
910

@@ -13,6 +14,7 @@ error[E0658]: const item paths in builtin attributes are experimental
1314
LL | #[repr(packed(REPR_PACK))]
1415
| ^^^^^^^^^
1516
|
17+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
1618
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
1719
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1820

@@ -22,6 +24,7 @@ error[E0658]: const item paths in builtin attributes are experimental
2224
LL | #[rustc_align(FN_ALIGN)]
2325
| ^^^^^^^^
2426
|
27+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
2528
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
2629
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2730

@@ -31,6 +34,7 @@ error[E0658]: const item paths in builtin attributes are experimental
3134
LL | #[rustc_align_static(STATIC_ALIGN)]
3235
| ^^^^^^^^^^^^
3336
|
37+
= note: see issue #52840 <https://github.com/rust-lang/rust/issues/52840> for more information
3438
= help: add `#![feature(const_attr_paths)]` to the crate attributes to enable
3539
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3640

0 commit comments

Comments
 (0)