diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-05-02 15:11:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 15:11:22 +0200 |
| commit | df9f8d0153be35463123f90adf2ba769654392a9 (patch) | |
| tree | 456c86e46eb54b6f3596d7523f12231e660757d9 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | f5efc3c286a8e625f7932f9e6f52e5812a4b67fc (diff) | |
| parent | 712560cd0399bf36148ca8d185a2ed6e3cb2edb5 (diff) | |
| download | rust-df9f8d0153be35463123f90adf2ba769654392a9.tar.gz rust-df9f8d0153be35463123f90adf2ba769654392a9.zip | |
Rollup merge of #124568 - Urgau:non-local-defs-doctest, r=michaelwoerister,GuillaumeGomez
Adjust `#[macro_export]`/doctest help suggestion for non_local_defs lint This PR adjust the help suggestion of the `non_local_definitions` lint when encountering a `#[macro_export]` at top-level doctest. So instead of a non-sentential help suggestion to move the `macro_rules!` up above the `rustdoc`-generated function. We now suggest users to declare their own function. Fixes *(partially, needs backport)* #124534
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
