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 6 pull requests #107017

Closed

Conversation

compiler-errors
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

WaffleLapkin and others added 16 commits October 28, 2022 23:36
vec::Splice can invalidate the slice::Iter inside vec::Drain.
So we replace them with dangling pointers which, unlike ones to
deallocated memory, are allowed.
…m-pointer-methods-where-applicable, r=m-ou-se

Lift `T: Sized` bounds from some `strict_provenance` pointer methods

This PR removes requirement for `T` (pointee type) to be `Sized` to call `pointer::{addr, expose_addr, with_addr, map_addr}`. These functions don't use `T`'s size, so there is no reason for them to require this. Updated public API:

cc `@Gankra,` rust-lang#95228
r? libs-api
…shtriplett

relax reference requirement on SocketAddrExt::from_abstract_name

Reference: rust-lang#85410 (comment)
Don't do pointer arithmetic on pointers to deallocated memory

vec::Splice can invalidate the slice::Iter inside vec::Drain. So we replace them with dangling pointers which, unlike ones to deallocated memory, are allowed.

Fixes miri test failures.
Fixes rust-lang/miri#2759
…est, r=cuviper

bump failing assembly & codegen tests from LLVM 14 to LLVM 15

These tests need LLVM 15.

Found by `@Robert-Cunningham` in rust-lang#100601 (comment)

Passed tests at 006506e93fc80318ebfd7939fe1fd4dc19ecd8cb in https://github.com/rust-lang/rust/actions/runs/3942442730/jobs/6746104740.
…div, r=GuillaumeGomez

rustdoc: instead of `.setting-name { width: 100% }`, use default div CSS

This has no discernible change in appearance.
@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jan 18, 2023
@compiler-errors
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Jan 18, 2023

📌 Commit 261a3c9 has been approved by compiler-errors

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 Jan 18, 2023
@bors
Copy link
Contributor

bors commented Jan 18, 2023

⌛ Testing commit 261a3c9 with merge 6f2847f0501fe8a7f3e098936e827cd564e9b8b2...

@rust-log-analyzer
Copy link
Collaborator

The job test-various failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- [ui] checkout/tests/ui/proc-macro/allowed-signatures.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/proc-macro/allowed-signatures.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/allowed-signatures" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/allowed-signatures/auxiliary"
stdout: none
--- stderr -------------------------------
warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`

error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^

---
diff of stderr:

+ warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=wasm32-unknown-unknown
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
1 error: proc macro functions may not be `extern "C"`
3    |


16 LL | pub extern fn abi3(a: TokenStream) -> TokenStream {
18 
- error: aborting due to 3 previous errors
+ error: aborting due to 7 previous errors; 1 warning emitted
20 
---
To only update this specific test, also pass `--test-args proc-macro/proc-macro-abi.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/proc-macro/proc-macro-abi.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/proc-macro-abi" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/proc-macro-abi/auxiliary"
stdout: none
--- stderr -------------------------------
warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`

error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: proc macro functions may not be `extern "C"`
   |
   |
LL | pub extern "C" fn abi(a: TokenStream) -> TokenStream {


error: proc macro functions may not be `extern "system"`
   |
   |
LL | pub extern "system" fn abi2(a: TokenStream) -> TokenStream {


error: proc macro functions may not be `extern "C"`
   |
   |
LL | pub extern fn abi3(a: TokenStream) -> TokenStream {

error: aborting due to 7 previous errors; 1 warning emitted
------------------------------------------



---- [ui] checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs stdout ----
diff of stderr:

+ warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`
+ 
+ error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+ LL | #[proc_macro_attribute]
+    | ^^^^^^^^^^^^^^^^^^^^^^^
+ 
+ 
+ error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+ LL | #[proc_macro_attribute]
+    | ^^^^^^^^^^^^^^^^^^^^^^^
+ 
+ 
+ error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+ LL | #[proc_macro_attribute]
+    | ^^^^^^^^^^^^^^^^^^^^^^^
+ 
+ 
+ error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+ LL | #[proc_macro_attribute]
+    | ^^^^^^^^^^^^^^^^^^^^^^^
+ 
+ 
1 error: mismatched attribute proc macro signature
2   --> $DIR/signature-proc-macro-attribute.rs:7:1
3    |

38 LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
39    |                                                 ^^^^^^^^^ found unexpected argument
- error: aborting due to 6 previous errors
+ error: aborting due to 10 previous errors; 1 warning emitted
42 
43 
---
To only update this specific test, also pass `--test-args proc-macro/signature-proc-macro-attribute.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro-attribute" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro-attribute/auxiliary"
stdout: none
--- stderr -------------------------------
warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`

error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro_attribute]
   | ^^^^^^^^^^^^^^^^^^^^^^^


error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro_attribute]
   | ^^^^^^^^^^^^^^^^^^^^^^^


error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro_attribute]
   | ^^^^^^^^^^^^^^^^^^^^^^^


error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro_attribute]
   | ^^^^^^^^^^^^^^^^^^^^^^^


error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:7:1
   |
LL | pub fn bad_input(input: String) -> TokenStream {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attribute proc macro must have two arguments of type `proc_macro::TokenStream`
error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:13:42
   |
   |
LL | pub fn bad_output(input: TokenStream) -> String {
   |                                          ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: attribute proc macros must have a signature of `fn(TokenStream, TokenStream) -> TokenStream`
error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:13:1
   |
   |
LL | pub fn bad_output(input: TokenStream) -> String {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attribute proc macro must have two arguments of type `proc_macro::TokenStream`
error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:20:41
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   |                                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: attribute proc macros must have a signature of `fn(TokenStream, TokenStream) -> TokenStream`
error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:20:1
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attribute proc macro must have two arguments of type `proc_macro::TokenStream`
error: mismatched attribute proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-attribute.rs:27:49
   |
   |
LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
   |                                                 ^^^^^^^^^ found unexpected argument
error: aborting due to 10 previous errors; 1 warning emitted
------------------------------------------



---- [ui] checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs stdout ----
diff of stderr:

+ warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`
+ 
+ error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro_derive(Blah)]
+ 
+ 
+ error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro_derive(Bleh)]
+ 
+ 
+ error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro_derive(Bluh)]
+ 
+ 
+ error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro_derive(Blih)]
+ 
1 error: mismatched derive proc macro signature
2   --> $DIR/signature-proc-macro-derive.rs:7:25
3    |
3    |

36 LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
37    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ found unexpected arguments
- error: aborting due to 5 previous errors
+ error: aborting due to 9 previous errors; 1 warning emitted
40 
41 
---
To only update this specific test, also pass `--test-args proc-macro/signature-proc-macro-derive.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro-derive" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro-derive/auxiliary"
stdout: none
--- stderr -------------------------------
warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`

error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
   |
   |
LL | #[proc_macro_derive(Blah)]


error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
   |
   |
LL | #[proc_macro_derive(Bleh)]


error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
   |
   |
LL | #[proc_macro_derive(Bluh)]


error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
   |
   |
LL | #[proc_macro_derive(Blih)]

error: mismatched derive proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs:7:25
   |
   |
LL | pub fn bad_input(input: String) -> TokenStream {
   |                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: derive proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched derive proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs:13:42
   |
   |
LL | pub fn bad_output(input: TokenStream) -> String {
   |                                          ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: derive proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched derive proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs:19:41
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   |                                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: derive proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched derive proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs:19:30
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   |                              ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: derive proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched derive proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro-derive.rs:26:33
   |
   |
LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ found unexpected arguments
error: aborting due to 9 previous errors; 1 warning emitted
------------------------------------------



---- [ui] checkout/tests/ui/proc-macro/signature-proc-macro.rs stdout ----
diff of stderr:

+ warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
+ 
+ error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
+    |
+    |
+ LL | #[proc_macro]
+ 
1 error: mismatched function-like proc macro signature
2   --> $DIR/signature-proc-macro.rs:7:25
3    |
3    |

36 LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
37    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ found unexpected arguments
- error: aborting due to 5 previous errors
+ error: aborting due to 9 previous errors; 1 warning emitted
40 
41 
---
To only update this specific test, also pass `--test-args proc-macro/signature-proc-macro.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/proc-macro/signature-proc-macro.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/proc-macro/signature-proc-macro/auxiliary"
stdout: none
--- stderr -------------------------------
warning: dropping unsupported crate type `proc-macro` for target `wasm32-unknown-unknown`

error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: the `#[proc_macro]` attribute is only usable with crates of the `proc-macro` crate type
   |
LL | #[proc_macro]
   | ^^^^^^^^^^^^^


error: mismatched function-like proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro.rs:7:25
   |
LL | pub fn bad_input(input: String) -> TokenStream {
   |                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched function-like proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro.rs:13:42
   |
   |
LL | pub fn bad_output(input: TokenStream) -> String {
   |                                          ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched function-like proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro.rs:19:41
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   |                                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched function-like proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro.rs:19:30
   |
   |
LL | pub fn bad_everything(input: String) -> String {
   |                              ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
   |
   = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
error: mismatched function-like proc macro signature
  --> /checkout/tests/ui/proc-macro/signature-proc-macro.rs:26:33
   |
   |
LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ found unexpected arguments
error: aborting due to 9 previous errors; 1 warning emitted
------------------------------------------


@bors
Copy link
Contributor

bors commented Jan 18, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 18, 2023
@compiler-errors
Copy link
Member Author

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 18, 2023
@compiler-errors compiler-errors deleted the rollup-90nsp4a branch August 11, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants