diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-22 11:40:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-22 11:40:21 -0500 |
| commit | 8ee5e271ef2edd743956b8a966a02d59fa198f09 (patch) | |
| tree | 8b2443ea7f249442131cabaec24141466cdcc44d /compiler/rustc_hir_analysis/src | |
| parent | a7e884f50e0a60ef18f136a7f74e4c9cc185e4ec (diff) | |
| parent | 00da9fc961e9b7b369a950c71d88126bbefc677c (diff) | |
| download | rust-8ee5e271ef2edd743956b8a966a02d59fa198f09.tar.gz rust-8ee5e271ef2edd743956b8a966a02d59fa198f09.zip | |
Rollup merge of #128008 - weiznich:fix/121521, r=lcnr
Start using `#[diagnostic::do_not_recommend]` in the standard library This commit starts using `#[diagnostic::do_not_recommend]` in the standard library to improve some error messages. In this case we just hide a certain nightly only impl as suggested in #121521 The result in not perfect yet, but at least the `Yeet` suggestion is not shown anymore. I would consider that as a minor improvement.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions
