mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
Merge pull request #18994 from Wilfred/failed_rustc_cfg_as_warning
internal: Treat cfg fetching failures as a warning
This commit is contained in:
commit
8acea502ee
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ pub fn get(
|
|||
let rustc_cfgs = match rustc_cfgs {
|
||||
Ok(cfgs) => cfgs,
|
||||
Err(e) => {
|
||||
tracing::error!(?e, "failed to get rustc cfgs");
|
||||
tracing::warn!(?e, "failed to get rustc cfgs");
|
||||
return vec![];
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue