diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-17 10:27:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-17 10:27:28 +0000 |
commit | d21f5f7d6e13b93d64235f13ac18e447af8d59e4 (patch) | |
tree | 06403ae68423f829e545b86835a96b4173c49519 /crates/hir_expand/src/quote.rs | |
parent | 554dd215c729c3598ceb014f61d9d295d554036a (diff) | |
parent | 6615fda695dfe6cb2c6792eed5d472b43ac63423 (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/hir_expand/src/quote.rs')
0 files changed, 0 insertions, 0 deletions