diff options
| author | bors <bors@rust-lang.org> | 2025-03-31 15:10:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-31 15:10:21 +0000 |
| commit | 0b45675cfcec57f30a3794e1a1e18423aa9cf200 (patch) | |
| tree | 1fadef17d924d8bfee7fc848336e4760e8aee56b /compiler/rustc_passes/src/errors.rs | |
| parent | ab5b1be771e63ea3736d8830e7b661decc6b1abc (diff) | |
| parent | 70a1bbc8f06b66fc154a8edef08ebd0d8aeeaeef (diff) | |
| download | rust-0b45675cfcec57f30a3794e1a1e18423aa9cf200.tar.gz rust-0b45675cfcec57f30a3794e1a1e18423aa9cf200.zip | |
Auto merge of #139169 - matthiaskrgr:rollup-nfy4aew, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #138176 (Prefer built-in sized impls (and only sized impls) for rigid types always) - #138749 (Fix closure recovery for missing block when return type is specified) - #138842 (Emit `unused_attributes` for `#[inline]` on exported functions) - #139153 (Encode synthetic by-move coroutine body with a different `DefPathData`) - #139157 (Remove mention of `exhaustive_patterns` from `never` docs) - #139167 (Remove Amanieu from the libs review rotation) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
| -rw-r--r-- | compiler/rustc_passes/src/errors.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index 0ee17430aab..4e3e0324205 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -1441,6 +1441,11 @@ pub(crate) struct OnlyHasEffectOn { pub target_name: String, } +#[derive(LintDiagnostic)] +#[diag(passes_inline_ignored_for_exported)] +#[help] +pub(crate) struct InlineIgnoredForExported {} + #[derive(Diagnostic)] #[diag(passes_object_lifetime_err)] pub(crate) struct ObjectLifetimeErr { |
