about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-04 18:27:18 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-06 14:57:09 +1100
commite49a1470baee89823a49aa6ec7baa19aa033b88b (patch)
treea26092f5500504e9da680096f6ae2404a16fb4b1 /compiler/rustc_interface/src/lib.rs
parent108e541cc2d73fc4548847a2cfddca5c3b3499e6 (diff)
downloadrust-e49a1470baee89823a49aa6ec7baa19aa033b88b.tar.gz
rust-e49a1470baee89823a49aa6ec7baa19aa033b88b.zip
Factor out `insert_or_error`.
It appears identically as a closure in two functions.

Also change its return type from `bool` to `Option<()>` so it can be
used with `?`.
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
0 files changed, 0 insertions, 0 deletions