about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/detect/macros.rs
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2021-10-17 06:22:47 +0900
committerGitHub <noreply@github.com>2021-10-16 22:22:47 +0100
commit42ae943ab4720b699c9ea880609d50aca195d70e (patch)
treec471687c9ab84dc8ed18d8f58d07bb35c24d2f56 /library/stdarch/crates/std_detect/src/detect/macros.rs
parent707aa38f6ad529cdc55da77f8bdc2a328ddd1477 (diff)
downloadrust-42ae943ab4720b699c9ea880609d50aca195d70e.tar.gz
rust-42ae943ab4720b699c9ea880609d50aca195d70e.zip
Fix error message of is_*_feature_detected on nort_feature (#1232)
Diffstat (limited to 'library/stdarch/crates/std_detect/src/detect/macros.rs')
-rw-r--r--library/stdarch/crates/std_detect/src/detect/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/macros.rs b/library/stdarch/crates/std_detect/src/detect/macros.rs
index a4af3d1c027..b83fe71c41d 100644
--- a/library/stdarch/crates/std_detect/src/detect/macros.rs
+++ b/library/stdarch/crates/std_detect/src/detect/macros.rs
@@ -25,7 +25,7 @@ macro_rules! features {
                 ($nort_feature) => {
                     compile_error!(
                         concat!(
-                            stringify!(nort_feature),
+                            stringify!($nort_feature),
                             " feature cannot be detected at run-time"
                         )
                     )