about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-11-14 13:32:22 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-14 14:51:45 +1100
commit7aee2b332fb1a2b6c72893f425d650bd8c705bb6 (patch)
tree6d112ab2a910686a9aaee6c7b2c63e4b8fd5a660 /compiler/rustc_pattern_analysis/src
parentb420d923cff05f51eb43f607f5d8dce827eeba97 (diff)
downloadrust-7aee2b332fb1a2b6c72893f425d650bd8c705bb6.tar.gz
rust-7aee2b332fb1a2b6c72893f425d650bd8c705bb6.zip
Make `configure_annotatable`/`flat_map_annotatable` infallible.
They each have a single callsite, and the result is always unwrapped, so
the `Option<Annotatable>` return type is misleading.

Also, the comment at the `configure_annotatable` call site is wrong,
talking about a result vector, so this commit also removes that.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions