diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-06-19 01:51:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-19 01:51:39 +0100 |
| commit | 081cc5cc2d15d588c32ef1a0add9d964c5cbf410 (patch) | |
| tree | f7d7ee1730c88fcdc218261bc422f33aab6c93a8 /compiler/rustc_interface/src/errors.rs | |
| parent | 8eb2e5f4c887c4d89e4989ae8c1898d2204c41c3 (diff) | |
| parent | 94c282197d7081370d3fd538c66976fb41554cf6 (diff) | |
| download | rust-081cc5cc2d15d588c32ef1a0add9d964c5cbf410.tar.gz rust-081cc5cc2d15d588c32ef1a0add9d964c5cbf410.zip | |
Rollup merge of #126422 - Urgau:doctest-impl-non-local-def, r=fmease
Suggest using a standalone doctest for non-local impl defs This PR tweaks the lint output of the `non_local_definitions` lint to suggest using a standalone doctest instead of a moving the `impl` def to an impossible place as was already done with `macro_rules!` case in https://github.com/rust-lang/rust/pull/124568. Fixes #126339 r? ```@fmease```
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
