1
Fork 0
rust/compiler/rustc_save_analysis/src
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
..
dump_visitor.rs Remove path_span argument to the visit_path_segment methods. 2022-09-12 13:24:25 +10:00
dumper.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
errors.rs save_analysis: Migrate diagnostics 2022-08-24 06:50:16 +09:00
lib.rs RPITIT placeholder items 2022-09-09 01:31:44 +00:00
sig.rs Handle generic parameters. 2022-09-09 01:31:46 +00:00
span_utils.rs Include (potentially remapped) working dir in crate hash 2021-08-15 15:17:37 -05:00