Closed
Description
rust/compiler/rustc_trait_selection/src/traits/coherence.rs
Lines 364 to 383 in e9cdccc
The sentence
For that, we only a allow crate to perform negative reasoning on non-local-non-
#[fundamental]
only if there's a local key parameter as per (2).
Has a weirdly placed “a” and twice “only”. I’m not immediately sure how to best fix it without changing the meaning to something that isn’t meant.
Found while doing #88230
@rustbot label T-compiler
I suppose it might be correct as
/// For that, we only allow a crate to perform negative reasoning on
/// non-local-non-`#[fundamental]` if there's a local key parameter as per (2).
but it would be nice to get confirmation from someone who knows what this comment is talking about.