Skip to content

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

TaKO8Ki and others added 20 commits October 13, 2022 13:07
If we fail to locate a native library that we are linking with, it could be the case the user entered a complete file name like `foo.lib` or `libfoo.a` when we expect them to simply provide `foo`. In this situation, we now detect that case and suggest the user only provide the library name itself.
…piler-errors Add suggestion to the "missing native library" error If we fail to locate a native library that we are linking with, it could be the case the user entered a complete file name like `foo.lib` or `libfoo.a` when we expect them to simply provide `foo`. In this situation, we now detect that case and suggest the user only provide the library name itself.
…ler-errors rustdoc: don't ICE on `TyKind::Typeof` Fixes rust-lang#102986 I'm not sure why rustdoc started seeing `TyKind::Typeof` all of a sudden (the code being editted was last touched 3 months ago), probably something to do with error recovery? idk.
…li-obk replace ReErased with fresh region vars in opaque types See inline comments. Prior art rust-lang#102943. cc `@compiler-errors` `@oli-obk` Fixes rust-lang#100267 Fixes rust-lang#101940 Fixes rust-lang#102649 Fixes rust-lang#102510
…ui-test, r=notriddle Improve rustdoc `unsafe-fn` GUI test r? `@notriddle`
Add new bootstrap entrypoints to triagebot They haven't been added yet, as seen in rust-lang#103007. r? `@jyn514`
@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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 Oct 13, 2022
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=7

@bors
Copy link
Collaborator

bors commented Oct 13, 2022

📌 Commit f6cc372 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 13, 2022
@bors
Copy link
Collaborator

bors commented Oct 13, 2022

⌛ Testing commit f6cc372 with merge 33d6b41743de4c741a7e157bfcb8b79dd88986c7...

@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
---- [ui] src/test/ui/traits/issue-102989.rs stdout ---- diff of stderr: 20 21 error: `profiler_builtins` crate (required by compiler options) is not compatible with crate attribute `#![no_core]` - error[E0463]: can't find crate for `profiler_builtins` - | - = note: the compiler may have been built without the profiler runtime - - 27 error[E0152]: found duplicate lang item `sized` 29 | 66 LL | let x = x << 1; 67 | ^ --- To only update this specific test, also pass `--test-args traits/issue-102989.rs` error: 1 errors occurred comparing output. status: exit status: 1 command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/traits/issue-102989.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/issue-102989" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Cinstrument-coverage" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/traits/issue-102989/auxiliary" stdout: none --- stderr ------------------------------- error: `self` parameter is only allowed in associated functions | | LL | fn ref_Struct(self: &Struct, f: &u32) -> &u32 { | ^^^^ not semantically valid as function parameter | = note: associated functions are those in `impl` or `trait` definitions error[E0412]: cannot find type `Struct` in this scope --> /checkout/src/test/ui/traits/issue-102989.rs:10:22 | | LL | fn ref_Struct(self: &Struct, f: &u32) -> &u32 { error[E0425]: cannot find value `x` in this scope --> /checkout/src/test/ui/traits/issue-102989.rs:14:13 | | LL | let x = x << 1; | ^ help: a local variable with a similar name exists: `f` error: `profiler_builtins` crate (required by compiler options) is not compatible with crate attribute `#![no_core]` error[E0152]: found duplicate lang item `sized` | | LL | trait Sized { } //~ ERROR found duplicate lang item `sized` | = note: the lang item is first defined in crate `core`. = note: first definition in `core` loaded from /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fa992565d2130c71.rlib = note: first definition in `core` loaded from /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fa992565d2130c71.rlib = note: second definition in the local crate (`issue_102989`) error: `#[panic_handler]` function required, but not found error: language item required, but not found: `eh_personality` | = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` error[E0277]: the size for values of type `{integer}` cannot be known at compilation time --> /checkout/src/test/ui/traits/issue-102989.rs:14:15 | LL | let x = x << 1; LL | let x = x << 1; | ^^ doesn't have a size known at compile-time | = help: the trait `core::marker::Sized` is not implemented for `{integer}` error[E0308]: mismatched types --> /checkout/src/test/ui/traits/issue-102989.rs:10:42 | LL | fn ref_Struct(self: &Struct, f: &u32) -> &u32 { | ---------- ^^^^ expected `&u32`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression note: consider returning one of these bindings --> /checkout/src/test/ui/traits/issue-102989.rs:10:30 | | LL | fn ref_Struct(self: &Struct, f: &u32) -> &u32 { ... LL | let x = x << 1; | ^ 
@bors
Copy link
Collaborator

bors commented Oct 13, 2022

💔 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 Oct 13, 2022
@matthiaskrgr matthiaskrgr deleted the rollup-ouk3oi0 branch December 22, 2022 10:47
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-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-infra Relevant to the infrastructure 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.