rust/compiler/rustc_passes
Dylan DPC 2982ba50fc
Rollup merge of #82258 - tmiasko:foreign-hir-stats, r=davidtwco
Implement -Z hir-stats for nested foreign items

An attempt to compute HIR stats for crates with nested foreign items results in an ICE.

```rust
fn main() {
    extern "C" { fn f(); }
}
```

```
thread 'rustc' panicked at 'visit_nested_xxx must be manually implemented in this visitor'
```

Provide required implementation of visitor method.
2021-02-23 16:10:22 +01:00
..
src Rollup merge of #82258 - tmiasko:foreign-hir-stats, r=davidtwco 2021-02-23 16:10:22 +01:00
Cargo.toml Add rustc_lexer as dependency to rustc_passes 2020-12-02 10:42:50 +01:00