about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-17 15:54:33 +0000
committerbors <bors@rust-lang.org>2025-07-17 15:54:33 +0000
commit9cd918bcbbc26deb005eb4e1bd9a445380195e56 (patch)
tree6465cc8c8b8760820ca29717e9fa4d981e5de8ce /compiler/rustc_hir_analysis/src/errors.rs
parentbf5e6cc7a7a7eb03e3ed9b875d76530eddd47d5f (diff)
parent69326878eeabb713e2d4a85215b87f18e498313c (diff)
downloadrust-9cd918bcbbc26deb005eb4e1bd9a445380195e56.tar.gz
rust-9cd918bcbbc26deb005eb4e1bd9a445380195e56.zip
Auto merge of #143879 - fee1-dead-contrib:push-lrlpoouyqqry, r=fmease
parse `const trait Trait`

r? oli-obk or anyone from project-const-traits

cc `@rust-lang/project-const-traits`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs
index c1c82839212..eb65050c17c 100644
--- a/compiler/rustc_hir_analysis/src/errors.rs
+++ b/compiler/rustc_hir_analysis/src/errors.rs
@@ -525,6 +525,7 @@ pub(crate) struct ConstImplForNonConstTrait {
     pub trait_name: String,
     #[suggestion(
         applicability = "machine-applicable",
+        // FIXME(const_trait_impl) fix this suggestion
         code = "#[const_trait] ",
         style = "verbose"
     )]
@@ -548,6 +549,7 @@ pub(crate) struct ConstBoundForNonConstTrait {
     pub suggestion_pre: &'static str,
     #[suggestion(
         applicability = "machine-applicable",
+        // FIXME(const_trait_impl) fix this suggestion
         code = "#[const_trait] ",
         style = "verbose"
     )]