diff options
| author | Georg Semmler <github@weiznich.de> | 2024-07-11 08:14:28 +0200 |
|---|---|---|
| committer | Georg Semmler <github@weiznich.de> | 2024-07-11 08:14:28 +0200 |
| commit | 27d5db166e8e640ab8317cc96b91ffe60270b6c5 (patch) | |
| tree | ca0ccf75ff5166b601d31cd34328db15e00de441 /compiler/rustc_codegen_gcc/src | |
| parent | e1f45a1442bb373429b6b0838e8ef806ddddfeef (diff) | |
| download | rust-27d5db166e8e640ab8317cc96b91ffe60270b6c5.tar.gz rust-27d5db166e8e640ab8317cc96b91ffe60270b6c5.zip | |
Allows `#[diagnostic::do_not_recommend]` to supress trait impls in suggestions as well
This commit changes the error reporting mechanism for not implemented
traits to skip impl marked as `#[diagnostic::do_not_recommend]` in the
help part of the error message ("the following other types implement
trait `Foo`:"). The main use case here is to allow crate authors to skip
non-meaningful confusing suggestions. A common example for this are
fully generic impls on tuples.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
