about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-18 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-02-18 00:00:00 +0000
commitbf09e0499e30a39426695c149c8a45c0c06bf715 (patch)
treec976049f3ff4985c1029c219211ba7e8b6160f66 /src/test/codegen/src-hash-algorithm
parentcb2effd44e667d133e31ef334e30d10195218ce6 (diff)
downloadrust-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