Skip to content
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

Rollup of 7 pull requests #121294

Closed
wants to merge 14 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

oli-obk and others added 14 commits February 13, 2024 14:56
…-in-type, r=Mark-Simulacrum

Store core::str::CharSearcher::utf8_size as u8

This is already relied on being smaller than u8 due to the `safety invariant: utf8_size must be less than 5`, so this helps LLVM optimize and maybe improve copies due to padding instead of unused bytes.
… r=Mark-Simulacrum

Add `Future` and `IntoFuture` to the 2024 prelude

Implements rust-lang/rfcs#3509.
…-later, r=cjgillot

Suggest moving definition if non-found macro_rules! is defined later

Fixes rust-lang#121061
…=Nadrieril

Extend Level API

I need this API for rust-lang/rust-clippy#12303: I have a nested `cfg` attribute (so a `MetaItem`) and I'd like to still be able to match against all possible kind of `Level`s.
…nstants, r=Nilstrieb

Add diagnostic items for legacy numeric constants

For rust-lang/rust-clippy#12312
…s, r=nnethercote

add test for panicking attribute macros
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Feb 19, 2024
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=7

@bors
Copy link
Contributor

bors commented Feb 19, 2024

📌 Commit dc894c3 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 19, 2024
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-16 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_21e96767-969c-4240-a736-99c7620c2e01
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=rollup-6swock4
GITHUB_JOB=pr
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_21e96767-969c-4240-a736-99c7620c2e01
GITHUB_REF=refs/pull/121294/merge
GITHUB_REF_NAME=121294/merge
GITHUB_REF_PROTECTED=false
---
#12 writing image sha256:f2148ef2108152f90d6a6020f4f1b9ac9e1fb1d8487a0a2b0fa9dd0914023eb2 done
#12 naming to docker.io/library/rust-ci done
#12 DONE 10.1s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-16]
##[group]Clock drift check
  local time: Mon Feb 19 11:58:36 UTC 2024
  network time: Mon, 19 Feb 2024 11:58:36 GMT
  network time: Mon, 19 Feb 2024 11:58:36 GMT
##[endgroup]
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-16', '--enable-llvm-link-shared', '--set', 'rust.thin-lto-import-instr-limit=10', '--set', 'change-id=99999999', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'build.optimized-compiler-builtins', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-16/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.thin-lto-import-instr-limit := 10
configure: change-id            := 99999999
---
   Compiling rustc_resolve v0.0.0 (/checkout/compiler/rustc_resolve)
error[E0061]: this method takes 2 arguments but 1 argument was supplied
    --> compiler/rustc_resolve/src/diagnostics.rs:1460:21
     |
1460 |                 err.subdiagnostic(MacroDefinedLater { span: unused_ident.span });
     |                     ^^^^^^^^^^^^^ --------------------------------------------- an argument of type `&DiagCtxt` is missing
note: method defined here
    --> /checkout/compiler/rustc_errors/src/diagnostic.rs:858:12
     |
858  |     pub fn subdiagnostic(
858  |     pub fn subdiagnostic(
     |            ^^^^^^^^^^^^^
help: provide the argument
     |
1460 |                 err.subdiagnostic(/* &DiagCtxt */, MacroDefinedLater { span: unused_ident.span });

error[E0061]: this method takes 2 arguments but 1 argument was supplied
    --> compiler/rustc_resolve/src/diagnostics.rs:1461:21
     |
     |
1461 |                 err.subdiagnostic(MacroSuggMovePosition { span: ident.span, ident });
     |                     ^^^^^^^^^^^^^ ------------------------------------------------- an argument of type `&DiagCtxt` is missing
note: method defined here
    --> /checkout/compiler/rustc_errors/src/diagnostic.rs:858:12
     |
858  |     pub fn subdiagnostic(
858  |     pub fn subdiagnostic(
     |            ^^^^^^^^^^^^^
help: provide the argument
     |
1461 |                 err.subdiagnostic(/* &DiagCtxt */, MacroSuggMovePosition { span: ident.span, ident });

For more information about this error, try `rustc --explain E0061`.
error: could not compile `rustc_resolve` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.