about summary refs log tree commit diff
path: root/tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs')
-rw-r--r--tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs b/tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs
index dab01179c0b..215e64979f7 100644
--- a/tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs
+++ b/tests/ui/target-feature/forbidden-hardfloat-target-feature-attribute.rs
@@ -1,3 +1,4 @@
+//! Ensure ABI-incompatible features cannot be enabled via `#[target_feature]`.
 //@ compile-flags: --target=riscv32e-unknown-none-elf --crate-type=lib
 //@ needs-llvm-components: riscv
 #![feature(no_core, lang_items, riscv_target_feature)]