Files
rust/compiler/rustc_query_impl
Nicholas Nethercote d52943a726 Remove assertion in load_from_disk_or_invoke_provider_green.
We can only reach this point if `try_load_from_disk_fn` fails, and the
condition of this assertion is basically just the inverse of what
`try_load_from_disk_fn` does. Basically it's like this:
```
fn foo() -> bool { a && b }

fn bar() {
    if foo() {
        return;
    }
    assert!(!a || !b);
}
```
The assertion is just confusing and provides little value.
2026-03-22 20:45:26 +11:00
..