From feb344f746dfe7073c5737d19a934acc5368219e Mon Sep 17 00:00:00 2001 From: Veetaha Date: Wed, 20 Nov 2024 12:20:04 +0000 Subject: [PATCH] Second place --- bon-macros/src/builder/builder_gen/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bon-macros/src/builder/builder_gen/mod.rs b/bon-macros/src/builder/builder_gen/mod.rs index 08b13870..5a026ec0 100644 --- a/bon-macros/src/builder/builder_gen/mod.rs +++ b/bon-macros/src/builder/builder_gen/mod.rs @@ -149,6 +149,7 @@ impl BuilderGenCtx { // compiled by `rustc`. Rust Analyzer should be able to use the syntax // provided inside of the block to figure out the semantic meaning of // the tokens passed to the attribute. + #[allow(unexpected_cfgs)] #[cfg(rust_analyzer)] { // Let IDEs know that these are type patterns like the ones that