fix(resolve): not defined extern crate shadow_name

This commit is contained in:
bohan 2023-05-19 21:12:08 +08:00
parent 8b4b20836b
commit c41b2089c7
4 changed files with 34 additions and 1 deletions

View file

@ -106,7 +106,7 @@ impl Determinacy {
/// A specific scope in which a name can be looked up.
/// This enum is currently used only for early resolution (imports and macros),
/// but not for late resolution yet.
#[derive(Clone, Copy)]
#[derive(Clone, Copy, Debug)]
enum Scope<'a> {
DeriveHelpers(LocalExpnId),
DeriveHelpersCompat,