We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
on()
if()
1 parent c6b8f65 commit cb8f2fcCopy full SHA for cb8f2fc
text/3366-diagnostic-attribute-namespace.md
@@ -181,7 +181,7 @@ There are alternatives for the naming of the `#[diagnostic]` namespace:
181
182
There are alternative designs for the proposed `on_unimplemented` attribute:
183
184
-* The `on()` based filtering might be replaceable by placing the attribute on negative trait impls. This would turn a filter like
+* The `if()` based filtering might be replaceable by placing the attribute on negative trait impls. This would turn a filter like
185
```rust
186
#[diagnostic::on_unimplemented(
187
on(Self = `String`, message = "Strings do not implement `IntoIterator` directly")
0 commit comments