diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-18 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-18 00:00:00 +0000 |
| commit | bf09e0499e30a39426695c149c8a45c0c06bf715 (patch) | |
| tree | c976049f3ff4985c1029c219211ba7e8b6160f66 /src/test/codegen/src-hash-algorithm | |
| parent | cb2effd44e667d133e31ef334e30d10195218ce6 (diff) | |
| download | rust-bf09e0499e30a39426695c149c8a45c0c06bf715.tar.gz rust-bf09e0499e30a39426695c149c8a45c0c06bf715.zip | |
Implement -Z hir-stats for nested foreign items
An attempt to compute HIR stats for crates with nested foreign items results in an ICE.
```
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
