mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 22:13:27 +00:00
![]() `Diagnostic` has 40 methods that return `&mut Self` and could be considered setters. Four of them have a `set_` prefix. This doesn't seem necessary for a type that implements the builder pattern. This commit removes the `set_` prefixes on those four methods. |
||
---|---|---|
.. | ||
diagnostic-derive-doc-comment-field.rs | ||
diagnostic-derive-doc-comment-field.stderr | ||
diagnostic-derive.rs | ||
diagnostic-derive.stderr | ||
enforce_slug_naming.rs | ||
enforce_slug_naming.stderr | ||
example.ftl | ||
invalid-variable.rs | ||
subdiagnostic-derive.rs | ||
subdiagnostic-derive.stderr |