Skip to content

Rollup of 7 pull requests #142962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
817b093
Implement 'PartialEq<{&Self, CString, Cow<Self>}>' for 'CStr'; Implem…
bjoernager Feb 19, 2025
bec2679
rustdoc-json: Add test for `#[optimize(..)]`
aDotInTheVoid Jun 23, 2025
2602653
[Arm64EC] Only decorate functions with `#`
dpaoliello Apr 25, 2025
81a7cb6
Enable reproducible-build-2 for Windows
dpaoliello Jun 21, 2025
98fce25
rustdoc-json: Add test for `#[cold]`
aDotInTheVoid Jun 23, 2025
8b1abd6
Make stats code nicer.
nnethercote Jun 24, 2025
1e7e173
Reverse order of `-Zinput-stats` and `-Zmeta-stats` output.
nnethercote Jun 24, 2025
b2a57e6
Tweak `-Zinput-stats` and `-Zmeta-stats` output.
nnethercote Jun 24, 2025
f8ab934
Migrate some tests away from `concat-idents`
tgross35 Jun 19, 2025
c978c89
Move some `issues-*` tests to better homes
tgross35 Jun 19, 2025
0e4de4c
Remove the deprecated `concat_idents!` macro
tgross35 Jun 19, 2025
30550c0
Rollup merge of #137268 - bjoernager:c-string-eq-c-str, r=Amanieu
GuillaumeGomez Jun 24, 2025
0377330
Rollup merge of #142704 - tgross35:remove-concat_idents, r=fee1-dead
GuillaumeGomez Jun 24, 2025
4b52c9d
Rollup merge of #142742 - dpaoliello:arm64eclinking, r=bjorn3
GuillaumeGomez Jun 24, 2025
d9ee943
Rollup merge of #142843 - dpaoliello:reproducible-build-2, r=jieyouxu
GuillaumeGomez Jun 24, 2025
4cdf492
Rollup merge of #142916 - aDotInTheVoid:you-can-trip-on-my-optimizer,…
GuillaumeGomez Jun 24, 2025
0512c82
Rollup merge of #142919 - aDotInTheVoid:cold-cold-attr-for-you, r=Gui…
GuillaumeGomez Jun 24, 2025
e8dd3c3
Rollup merge of #142944 - nnethercote:stats-tweaks, r=lqd
GuillaumeGomez Jun 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions compiler/rustc_builtin_macros/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ builtin_macros_concat_bytes_oob = numeric literal is out of bounds
builtin_macros_concat_bytestr = cannot concatenate a byte string literal
builtin_macros_concat_c_str_lit = cannot concatenate a C string literal

builtin_macros_concat_idents_ident_args = `concat_idents!()` requires ident args

builtin_macros_concat_idents_missing_args = `concat_idents!()` takes 1 or more arguments
builtin_macros_concat_idents_missing_comma = `concat_idents!()` expecting comma
builtin_macros_concat_missing_literal = expected a literal
.note = only literals (like `"foo"`, `-42` and `3.14`) can be passed to `concat!()`

Expand Down
71 changes: 0 additions & 71 deletions compiler/rustc_builtin_macros/src/concat_idents.rs

This file was deleted.

21 changes: 0 additions & 21 deletions compiler/rustc_builtin_macros/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,27 +299,6 @@ pub(crate) struct ConcatBytesBadRepeat {
pub(crate) span: Span,
}

#[derive(Diagnostic)]
#[diag(builtin_macros_concat_idents_missing_args)]
pub(crate) struct ConcatIdentsMissingArgs {
#[primary_span]
pub(crate) span: Span,
}

#[derive(Diagnostic)]
#[diag(builtin_macros_concat_idents_missing_comma)]
pub(crate) struct ConcatIdentsMissingComma {
#[primary_span]
pub(crate) span: Span,
}

#[derive(Diagnostic)]
#[diag(builtin_macros_concat_idents_ident_args)]
pub(crate) struct ConcatIdentsIdentArgs {
#[primary_span]
pub(crate) span: Span,
}

#[derive(Diagnostic)]
#[diag(builtin_macros_bad_derive_target, code = E0774)]
pub(crate) struct BadDeriveTarget {
Expand Down
2 changes: 0 additions & 2 deletions compiler/rustc_builtin_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ mod cfg_eval;
mod compile_error;
mod concat;
mod concat_bytes;
mod concat_idents;
mod define_opaque;
mod derive;
mod deriving;
Expand Down Expand Up @@ -84,7 +83,6 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
compile_error: compile_error::expand_compile_error,
concat: concat::expand_concat,
concat_bytes: concat_bytes::expand_concat_bytes,
concat_idents: concat_idents::expand_concat_idents,
const_format_args: format::expand_format_args,
core_panic: edition_panic::expand_panic,
env: env::expand_env,
Expand Down
Loading
Loading