about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-04 08:52:12 -0400
committerGitHub <noreply@github.com>2024-06-04 08:52:12 -0400
commit46a033958a06afb981da6e5dcb1d2a2c072cc4d6 (patch)
tree9952fee27d92b0986e8bc0509e2aa51880b57bd0 /compiler/rustc_resolve/src
parent5019bb608a465da3620956629a55d8007e78e98d (diff)
parentf9adc1ee9d5b94d4ccb744cf686091c16849a4ee (diff)
downloadrust-46a033958a06afb981da6e5dcb1d2a2c072cc4d6.tar.gz
rust-46a033958a06afb981da6e5dcb1d2a2c072cc4d6.zip
Rollup merge of #125717 - weiznich:move/do_not_recommend_to_diganostic_namespace, r=compiler-errors
Refactor `#[diagnostic::do_not_recommend]` support

This commit refactors the `#[do_not_recommend]` support in the old parser to also apply to projection errors and not only to selection errors. This allows the attribute to be used more widely.

Part of #51992

r? `@compiler-errors`

<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r​? <reviewer name>
-->
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions