rust/compiler/rustc_save_analysis
Nicholas Nethercote 6568ef338e Remove path_span argument to the visit_path_segment methods.
The `visit_path_segment` method of both the AST and HIR visitors has a
`path_span` argument that isn't necessary. This commit removes it.

There are two very small and inconsequential functional changes.

- One call to `NodeCollector::insert` now is passed a path segment
  identifier span instead of a full path span. This span is only used in
a panic message printed in the case of an internal compiler bug.

- Likewise, one call to `LifetimeCollectVisitor::record_elided_anchor`
  now uses a path segment identifier span instead of a full path span.
  This span is used to make some `'_` lifetimes.
2022-09-12 13:24:25 +10:00
..
src Remove path_span argument to the visit_path_segment methods. 2022-09-12 13:24:25 +10:00
Cargo.toml save_analysis: Migrate diagnostics 2022-08-24 06:50:16 +09:00