aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src/label.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-17 10:27:28 +0000
committerGitHub <[email protected]>2020-12-17 10:27:28 +0000
commitd21f5f7d6e13b93d64235f13ac18e447af8d59e4 (patch)
tree06403ae68423f829e545b86835a96b4173c49519 /crates/ide_db/src/label.rs
parent554dd215c729c3598ceb014f61d9d295d554036a (diff)
parent6615fda695dfe6cb2c6792eed5d472b43ac63423 (diff)
Merge #6911
6911: decl_check: don't pass `db` around so often r=matklad a=jonas-schievink Instead, store it in the `DeclValidator`. Also pass the `CrateId` that defines the checked item along. This is not yet needed, but will be once I've refactored `Attrs` to handle `cfg_attr` internally. We could also try to extract the crate from the "owner" `ModuleDefId` instead of passing it in, but then it might not be present for builtin types. Open to suggestions. Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/ide_db/src/label.rs')
0 files changed, 0 insertions, 0 deletions