Skip to content

Commit 8acea50

Browse files
authored
Merge pull request #18994 from Wilfred/failed_rustc_cfg_as_warning
internal: Treat cfg fetching failures as a warning
2 parents 93de80d + 8f6a1e5 commit 8acea50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/project-model/src/toolchain_info/rustc_cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn get(
1919
let rustc_cfgs = match rustc_cfgs {
2020
Ok(cfgs) => cfgs,
2121
Err(e) => {
22-
tracing::error!(?e, "failed to get rustc cfgs");
22+
tracing::warn!(?e, "failed to get rustc cfgs");
2323
return vec![];
2424
}
2525
};

0 commit comments

Comments
 (0)