diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-06-20 02:50:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 02:50:37 -0400 |
| commit | bab4ca914ea58b5ced4903225fe31e90bfffed5f (patch) | |
| tree | ccdfb8fadf2f53d28537a438042759dced12de4f /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 5b74275f89b6041bf2e9dc2abcf332e206d4cfca (diff) | |
| parent | 3c418ec505233927d562ff906d8eea309aee1905 (diff) | |
| download | rust-bab4ca914ea58b5ced4903225fe31e90bfffed5f.tar.gz rust-bab4ca914ea58b5ced4903225fe31e90bfffed5f.zip | |
Rollup merge of #138291 - jdonszelmann:optimize-attr, r=oli-obk
rewrite `optimize` attribute to use new attribute parsing infrastructure r? ```@oli-obk``` I'm afraid we'll get quite a few of these PRs in the future. If we get a lot of trivial changes I'll start merging multiple into one PR. They should be easy to review :) Waiting on #138165 first
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index 5387b2a7f81..c60661a1410 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -209,20 +209,6 @@ pub(crate) struct OutOfRangeInteger { } #[derive(Diagnostic)] -#[diag(codegen_ssa_expected_one_argument, code = E0722)] -pub(crate) struct ExpectedOneArgumentOptimize { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] -#[diag(codegen_ssa_invalid_argument, code = E0722)] -pub(crate) struct InvalidArgumentOptimize { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] #[diag(codegen_ssa_copy_path_buf)] pub(crate) struct CopyPathBuf { pub source_file: PathBuf, |
