rustc: Remove local variable IDs from Export
s
Local variables can never be exported.
This commit is contained in:
parent
b69fe57261
commit
294510e1bb
19 changed files with 71 additions and 68 deletions
|
@ -1655,7 +1655,7 @@ fn compute_all_traits(tcx: TyCtxt<'_>, (): ()) -> &[DefId] {
|
|||
tcx: TyCtxt<'_>,
|
||||
traits: &mut Vec<DefId>,
|
||||
external_mods: &mut FxHashSet<DefId>,
|
||||
res: Res,
|
||||
res: Res<!>,
|
||||
) {
|
||||
match res {
|
||||
Res::Def(DefKind::Trait | DefKind::TraitAlias, def_id) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue