Emit unconfigured code diagnostics for fields

This commit is contained in:
unexge 2022-09-04 18:28:04 +01:00
parent 1a24003eb6
commit 89107d5469
10 changed files with 730 additions and 33 deletions

View file

@ -1,7 +1,7 @@
//! Re-export diagnostics such that clients of `hir` don't have to depend on
//! low-level crates.
//!
//! This probably isn't the best way to do this -- ideally, diagnistics should
//! This probably isn't the best way to do this -- ideally, diagnostics should
//! be expressed in terms of hir types themselves.
use base_db::CrateId;
use cfg::{CfgExpr, CfgOptions};