diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-11-22 12:57:55 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-11-22 12:59:01 -0500 |
| commit | ab1e6342956620901723106761eacb0113e1583b (patch) | |
| tree | 0f4ed3ba8eb1edda9fadca6c779c0f85aa41edab /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 828461b4b27c4a955587887936e54057efc5e2c1 (diff) | |
| download | rust-ab1e6342956620901723106761eacb0113e1583b.tar.gz rust-ab1e6342956620901723106761eacb0113e1583b.zip | |
Make `fold_item_recur` non-nullable
This gets rid of a bunch of `unwrap()`s and makes it a little more clear what's going on. Originally I wanted to make `fold_item` non-nullable too, which would have been a lot nicer to work with, but unfortunately `stripper` does actually return `None` in some places. I might make a follow-up moving stripper to be special and not a pass so that passes can be non-nullable.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
