`ModKind::Loaded` has an `inline` field and a `had_parse_error` field. If the `inline` field is `Inline::Yes` then `had_parse_error` must be `Ok(())`. This commit moves the `had_parse_error` field into the `Inline::No` variant. This makes it impossible to create the nonsensical combination of `inline == Inline::Yes` and `had_parse_error = Err(_)`. |
||
|---|---|---|
| .. | ||
| asm.rs | ||
| block.rs | ||
| delegation.rs | ||
| errors.rs | ||
| expr.rs | ||
| format.rs | ||
| index.rs | ||
| item.rs | ||
| lib.rs | ||
| pat.rs | ||
| path.rs | ||
| stability.rs | ||