rust-analyzer guided enum variant structification
This commit is contained in:
@@ -688,7 +688,7 @@ impl<'a, 'b, 'tcx> BuildReducedGraphVisitor<'a, 'b, 'tcx> {
|
||||
}
|
||||
|
||||
// These items live in the value namespace.
|
||||
ItemKind::Static(_, mt, _) => {
|
||||
ItemKind::Static(ast::Static(_, mt, _)) => {
|
||||
let res = Res::Def(DefKind::Static(mt), def_id);
|
||||
self.r.define(parent, ident, ValueNS, (res, vis, sp, expansion));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user