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 9 pull requests #109252

Closed
wants to merge 27 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

thomcc and others added 27 commits March 12, 2023 00:23
This test was failing under new-symbol-mangling = true. Adapt pattern to
work in both cases.

Related to rust-lang#106002 from December.
I went over the cases where sort_by is used and in these two,
one can use sort_by_key instead.
…r-errors

Remove box expressions from HIR

After rust-lang#108516, `#[rustc_box]` is used at HIR->THIR lowering and this is no longer emitted, so it can be removed.

This is based on top of rust-lang#108471 to help with conflicts, so 43490488ccacd1a822e9c621f5ed6fca99959a0b is the only relevant commit (sorry for all the duplicated pings!)

```@rustbot``` label +S-blocked
…r=jyn514

Prevent stable `libtest` from supporting `-Zunstable-options`

Took a while for me to get around to this but seems trivial (unless I'm missing some reason this will break all our tests). Fixes rust-lang#75526

Basically `libtest` already tries to handle this in https://github.com/rust-lang/rust/blob/501ad021b9a4fb2cd6a39e0302d22f169f6166b0/library/test/src/cli.rs#L310-L318

But that env var was not passed. I'm guessing at one point [this code](https://github.com/rust-lang/rust/blob/501ad021b9a4fb2cd6a39e0302d22f169f6166b0/src/bootstrap/compile.rs#L842-L844) (or a common ancestor) was used to compile the standard library/libtest, but that is no longer the case (or perhaps it never worked, I don't have time to go digging).

I don't love that this is a "allow unstable by default" situation, as it means things like [`rustc-build-sysroot`](https://github.com/RalfJung/rustc-build-sysroot) could accidentally get unstable (CC ```@RalfJung)``` even if this is fixed here, but it's consistent with what happens in `rustc_feature`, so... yeah.

This is user-facing after all, even if it's hard to imagine the outcome of that conversation being "lets continue allowing use of `-Zunstable-features` from stable rust" (especially since a `RUSTC_BOOTSTRAP=1`-shaped loophole remains)... I think it probably should get a vibe check in the t-libs meeting (and plausibly a relnote along the lines of "hey `cargo test -- -Zunstable-options --some --unstable --stuff=here` used to work on stable, that's been fixed, sorry").

I'll nominate it for that after CI comes up green (I've done a smoke check but don't know what (if anything) will need `bootstrap` to enable `RUSTC_BOOTSTRAP=1` when running tests)

r? ```@jyn514```
…arget, r=tmandry

Fix riscv64 fuchsia LLVM target name

Currently, riscv64gc-unknown-fuchsia (added in rust-lang#108722) sets riscv64*gc*-unknown-fuchsia as the LLVM target.

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/compiler/rustc_target/src/spec/riscv64gc_unknown_fuchsia.rs#L5

However, riscv64*gc*-\* is not a valid LLVM target and causes the following error.

```console
$ rustc --print cfg --target riscv64gc-unknown-fuchsia
error: could not create LLVM TargetMachine for triple: riscv64gc-unknown-fuchsia: No available targets are compatible with triple "riscv64gc-unknown-fuchsia"
```

As with other RISC-V targets, the LLVM target should use riscv64-\*, not riscv64*gc*-\*.

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/compiler/rustc_target/src/spec/riscv64gc_unknown_freebsd.rs#L5
https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/compiler/rustc_target/src/spec/riscv64gc_unknown_linux_gnu.rs#L5

I confirmed that riscv64-unknown-fuchsia is recognized as a valid LLVM target by using custom targets.

```console
# create a custom target with `"llvm-target": "riscv64-unknown-fuchsia" from no-std riscv64gc target.
$ rustc --print target-spec-json -Z unstable-options --target riscv64gc-unknown-none-elf | grep -v is-builtin | sed 's/"llvm-target".*/"llvm-target": "riscv64-unknown-fuchsia",/' > riscv64gc-unknown-fuchsia.json

$ rustc --print cfg --target riscv64gc-unknown-fuchsia.json
debug_assertions
panic="abort"
target_abi=""
target_arch="riscv64"
target_endian="little"
target_env=""
target_feature="a"
target_feature="c"
target_feature="d"
target_feature="f"
target_feature="m"
...

$ cat riscv64gc-unknown-fuchsia.json
{
  "arch": "riscv64",
  "code-model": "medium",
  "cpu": "generic-rv64",
  "data-layout": "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128",
  "eh-frame-header": false,
  "emit-debug-gdb-scripts": false,
  "features": "+m,+a,+f,+d,+c",
  "linker": "rust-lld",
  "linker-flavor": "ld.lld",
  "llvm-abiname": "lp64d",
  "llvm-target": "riscv64-unknown-fuchsia",
  "max-atomic-width": 64,
  "panic-strategy": "abort",
  "relocation-model": "static",
  "supported-sanitizers": [
    "kernel-address"
  ],
  "target-pointer-width": "64"
}

# Check the current master's LLVM target name causes an error
$ sed -i 's/riscv64-unknown-fuchsia/riscv64gc-unknown-fuchsia/' riscv64gc-unknown-fuchsia.json
$ rustc --print cfg --target riscv64gc-unknown-fuchsia.json
error: could not create LLVM TargetMachine for triple: riscv64gc-unknown-fuchsia: No available targets are compatible with triple "riscv64gc-unknown-fuchsia"
```

r? ```@tmandry```
…henkov

Fix linker detection for clang with prefix

rust-lang#106489 removed check for clang with prefix. It says:

> Also remove the check for -clang, since there are no architecture specific variants of clang (to my knowledge).

However, when doing cross-compilation, a wrapper script for clang with the target name as a prefix is sometimes used.

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/src/ci/docker/host-x86_64/dist-various-2/Dockerfile#L62

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/src/ci/docker/scripts/freebsd-toolchain.sh#L76-L80

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/src/ci/docker/host-x86_64/dist-various-2/Dockerfile#L40

https://github.com/rust-lang/rust/blob/1716932743a7b3705cbf0c34db0c4e070ed1930d/compiler/rustc_target/src/spec/aarch64_pc_windows_gnullvm.rs#L7

It seems the regression did not occur on the targets mentioned above because the default linker flavor is gcc, but it did occur on targets where the default linker flavor is not gcc (taiki-e/setup-cross-toolchain-action@fd352f3).

r? ```@petrochenkov```
…, r=Nilstrieb

inherit_overflow: adapt pattern to also work with v0 mangling

This test was failing under new-symbol-mangling = true. Adapt pattern to work in both cases.

Related to rust-lang#106002 from December.
…-body, r=spastorino

Install projection from RPITIT to default trait method opaque correctly

1. For new lowering strategy `-Zlower-impl-trait-in-trait-to-assoc-ty`, install the correct default trait method projection predicates (RPITIT -> opaque). This makes default trait body tests pass!

2. Fix two WF-checking bugs -- first, we want to make sure that we're always looking for an opaque type in `check_return_position_impl_trait_in_trait_bounds`. That's because the RPITIT projections are normalized to opaques during wfcheck. Second, fix RPITIT's param-envs by not adding the projection predicates that we install on trait methods to make default RPITITs work -- I left a comment why.

3. Also, just a small drive-by for `rustc_on_unimplemented`. Not sure if it affects any tests, but can't hurt.

r? ```@spastorino,``` based off of rust-lang#109140
Use sort_by_key instead of sort_by

I went over the cases where sort_by is used and in these two, one can use sort_by_key instead.
…ddle

Fix invalid markdown link references

Fixes invalid link references in librustdoc's template documentation.
`[text](link)` was interpreted as a relative path to the file, making the link invalid, while `[text][label]` references a label defined in the file itself: <https://www.markdownguide.org/basic-syntax/#reference-style-links>
…er-errors

Fix generics mismatch errors for RPITITs on -Zlower-impl-trait-in-trait-to-assoc-ty

This PR stops reporting errors due to different count of generics on the new synthesized associated types for RPITITs. Those were already reported when we compare the function on the triat with the function on the impl.

r? `@compiler-errors`
@rustbot rustbot added 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. labels Mar 17, 2023
@rustbot rustbot added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Mar 17, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=9

@bors
Copy link
Contributor

bors commented Mar 17, 2023

📌 Commit de0fbeb 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 Mar 17, 2023
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v3' (SHA:24cb9080177205b6e8c946b17badbe402adc938f)
Download action repository 'rust-lang/simpleinfra@master' (SHA:3fb2b44a4eaebb9ed8086446bde46c27199ef5ed)
Complete job name: PR (x86_64-gnu-llvm-14, false, ubuntu-20.04-xl)
git config --global core.autocrlf false
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  CI_JOB_NAME: x86_64-gnu-llvm-14
---
failures:

---- [ui] tests/ui/async-await/in-trait/generics-mismatch.rs#next stdout ----

error in revision `next`: Error: expected failure status (Some(1)) but received status Some(101).
status: exit status: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/async-await/in-trait/generics-mismatch.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "next" "--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" "--remap-path-prefix=/checkout/tests/ui=fake-test-src-base" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/in-trait/generics-mismatch.next" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/async-await/in-trait/generics-mismatch.next/auxiliary" "--edition=2021" "-Zlower-impl-trait-in-trait-to-assoc-ty"
stdout: none
--- stderr -------------------------------
error: internal compiler error: compiler/rustc_hir_analysis/src/astconv/mod.rs:3146:78: impossible case reached
thread 'rustc' panicked at 'Box<dyn Any>', /checkout/compiler/rustc_errors/src/lib.rs:1644:9
stack backtrace:
   0:     0x7f46d1e8baf5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h12560b3207919d28
   1:     0x7f46d1ef8cc8 - core::fmt::write::hc498be3e1bfb827d
   1:     0x7f46d1ef8cc8 - core::fmt::write::hc498be3e1bfb827d
   2:     0x7f46d1e801d1 - std::io::Write::write_fmt::h8943f61c2f6ad7cc
   3:     0x7f46d1e8b901 - std::sys_common::backtrace::print::hce135d0b682671cd
   4:     0x7f46d1e8ead4 - std::panicking::default_hook::{{closure}}::h7e230fc05b20d61b
   5:     0x7f46d1e8e7ba - std::panicking::default_hook::h5fbe04abb158874f
   6:     0x7f46d29885a5 - rustc_driver_impl[fecf5d64d50cc564]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7f46d1e8f1f1 - std::panicking::rust_panic_with_hook::hde476276cde715b3
   8:     0x7f46d56f23e3 - std[ccc32538840c0f4d]::panicking::begin_panic::<rustc_errors[1b154bdf16b571d5]::ExplicitBug>::{closure#0}
   9:     0x7f46d56e82a6 - std[ccc32538840c0f4d]::sys_common::backtrace::__rust_end_short_backtrace::<std[ccc32538840c0f4d]::panicking::begin_panic<rustc_errors[1b154bdf16b571d5]::ExplicitBug>::{closure#0}, !>
  10:     0x7f46d291f1e6 - std[ccc32538840c0f4d]::panicking::begin_panic::<rustc_errors[1b154bdf16b571d5]::ExplicitBug>
  11:     0x7f46d576ee66 - std[ccc32538840c0f4d]::panic::panic_any::<rustc_errors[1b154bdf16b571d5]::ExplicitBug>
Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
  12:     0x7f46d576ba40 - <rustc_errors[1b154bdf16b571d5]::HandlerInner>::bug::<&alloc[a2b0785807acf1c1]::string::String>
  13:     0x7f46d576b6d0 - <rustc_errors[1b154bdf16b571d5]::Handler>::bug::<&alloc[a2b0785807acf1c1]::string::String>
  14:     0x7f46d5796f65 - rustc_middle[fc4ba994b49ba12]::util::bug::opt_span_bug_fmt::<rustc_span[88f32648f8ad1dde]::span_encoding::Span>::{closure#0}
  15:     0x7f46d579693c - rustc_middle[fc4ba994b49ba12]::ty::context::tls::with_opt::<rustc_middle[fc4ba994b49ba12]::util::bug::opt_span_bug_fmt<rustc_span[88f32648f8ad1dde]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  16:     0x7f46d57968e6 - rustc_middle[fc4ba994b49ba12]::ty::context::tls::with_context_opt::<rustc_middle[fc4ba994b49ba12]::ty::context::tls::with_opt<rustc_middle[fc4ba994b49ba12]::util::bug::opt_span_bug_fmt<rustc_span[88f32648f8ad1dde]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  17:     0x7f46d5796ea9 - rustc_middle[fc4ba994b49ba12]::util::bug::opt_span_bug_fmt::<rustc_span[88f32648f8ad1dde]::span_encoding::Span>
  18:     0x7f46d2929de5 - rustc_middle[fc4ba994b49ba12]::util::bug::bug_fmt
  19:     0x7f46d3262477 - <rustc_middle[fc4ba994b49ba12]::ty::list::List<rustc_middle[fc4ba994b49ba12]::ty::subst::GenericArg>>::fill_item::<<dyn rustc_hir_analysis[807da05960a02b02]::astconv::AstConv>::impl_trait_ty_to_ty::{closure#0}::{closure#0}>
  20:     0x7f46d326147f - <rustc_middle[fc4ba994b49ba12]::ty::list::List<rustc_middle[fc4ba994b49ba12]::ty::subst::GenericArg>>::for_item::<<dyn rustc_hir_analysis[807da05960a02b02]::astconv::AstConv>::impl_trait_ty_to_ty::{closure#0}::{closure#0}>
  21:     0x7f46d32ffeb7 - <dyn rustc_hir_analysis[807da05960a02b02]::astconv::AstConv>::impl_trait_ty_to_ty
  22:     0x7f46d32fe553 - <dyn rustc_hir_analysis[807da05960a02b02]::astconv::AstConv>::ast_ty_to_ty_inner
  23:     0x7f46d33011ba - <dyn rustc_hir_analysis[807da05960a02b02]::astconv::AstConv>::ty_of_fn
  24:     0x7f46d325b4f2 - rustc_hir_analysis[807da05960a02b02]::collect::fn_sig
  25:     0x7f46d4807a61 - rustc_query_system[6b78adb57212ea73]::query::plumbing::try_execute_query::<rustc_query_impl[6a12184f0518c8b4]::queries::fn_sig, rustc_query_impl[6a12184f0518c8b4]::plumbing::QueryCtxt>
  26:     0x7f46d449ba16 - <rustc_query_impl[6a12184f0518c8b4]::Queries as rustc_middle[fc4ba994b49ba12]::ty::query::QueryEngine>::fn_sig
  27:     0x7f46d3248b35 - <rustc_hir_analysis[807da05960a02b02]::collect::CollectItemTypesVisitor as rustc_hir[a00d09cabbcd8017]::intravisit::Visitor>::visit_trait_item
  28:     0x7f46d31eed40 - <rustc_middle[fc4ba994b49ba12]::hir::map::Map>::visit_item_likes_in_module::<rustc_hir_analysis[807da05960a02b02]::collect::CollectItemTypesVisitor>
  29:     0x7f46d32453dd - rustc_hir_analysis[807da05960a02b02]::collect::collect_mod_item_types
  30:     0x7f46d477a498 - rustc_query_system[6b78adb57212ea73]::query::plumbing::try_execute_query::<rustc_query_impl[6a12184f0518c8b4]::queries::collect_mod_item_types, rustc_query_impl[6a12184f0518c8b4]::plumbing::QueryCtxt>
  31:     0x7f46d44a3479 - <rustc_query_impl[6a12184f0518c8b4]::Queries as rustc_middle[fc4ba994b49ba12]::ty::query::QueryEngine>::collect_mod_item_types
  32:     0x7f46d31ee557 - <rustc_middle[fc4ba994b49ba12]::hir::map::Map>::for_each_module::<rustc_hir_analysis[807da05960a02b02]::check_crate::{closure#0}::{closure#0}::{closure#0}>
  33:     0x7f46d310c8bc - <rustc_session[347b3efbc836d0cd]::session::Session>::track_errors::<rustc_hir_analysis[807da05960a02b02]::check_crate::{closure#0}, ()>
  34:     0x7f46d324e4fb - rustc_hir_analysis[807da05960a02b02]::check_crate
  35:     0x7f46d2a5f4c8 - rustc_interface[65d844889b0970f5]::passes::analysis
  36:     0x7f46d480f8af - rustc_query_system[6b78adb57212ea73]::query::plumbing::try_execute_query::<rustc_query_impl[6a12184f0518c8b4]::queries::analysis, rustc_query_impl[6a12184f0518c8b4]::plumbing::QueryCtxt>
  37:     0x7f46d4471773 - <rustc_query_impl[6a12184f0518c8b4]::Queries as rustc_middle[fc4ba994b49ba12]::ty::query::QueryEngine>::analysis
  38:     0x7f46d298a443 - <rustc_middle[fc4ba994b49ba12]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>
  39:     0x7f46d29d6dd8 - <rustc_interface[65d844889b0970f5]::interface::Compiler>::enter::<rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}::{closure#2}, core[6fd02c7427d3a34f]::result::Result<core[6fd02c7427d3a34f]::option::Option<rustc_interface[65d844889b0970f5]::queries::Linker>, rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>
  40:     0x7f46d2990b78 - rustc_span[88f32648f8ad1dde]::with_source_map::<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, rustc_interface[65d844889b0970f5]::interface::run_compiler<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  41:     0x7f46d29c79a7 - std[ccc32538840c0f4d]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[65d844889b0970f5]::util::run_in_thread_pool_with_globals<rustc_interface[65d844889b0970f5]::interface::run_compiler<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}>::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>
  42:     0x7f46d29ed2e6 - std[ccc32538840c0f4d]::panicking::try::<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, core[6fd02c7427d3a34f]::panic::unwind_safe::AssertUnwindSafe<<std[ccc32538840c0f4d]::thread::Builder>::spawn_unchecked_<rustc_interface[65d844889b0970f5]::util::run_in_thread_pool_with_globals<rustc_interface[65d844889b0970f5]::interface::run_compiler<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}>::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
  43:     0x7f46d29950e5 - <<std[ccc32538840c0f4d]::thread::Builder>::spawn_unchecked_<rustc_interface[65d844889b0970f5]::util::run_in_thread_pool_with_globals<rustc_interface[65d844889b0970f5]::interface::run_compiler<core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>, rustc_driver_impl[fecf5d64d50cc564]::run_compiler::{closure#1}>::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[6fd02c7427d3a34f]::result::Result<(), rustc_span[88f32648f8ad1dde]::ErrorGuaranteed>>::{closure#1} as core[6fd02c7427d3a34f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7f46d1e9b4de - std::sys::unix::thread::Thread::new::thread_start::hb789e17fea9a089b
  45:     0x7f46d1c35b43 - <unknown>
  46:     0x7f46d1cc7a00 - <unknown>
  47:                0x0 - <unknown>
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.70.0-nightly (9c57d5c9b 2023-03-17) running on x86_64-unknown-linux-gnu


note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z simulate-remapped-rust-src-base=/rustc/FAKE_PREFIX -Z translate-remapped-path-to-local-path=no -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0 -Z lower-impl-trait-in-trait-to-assoc-ty
query stack during panic:
query stack during panic:
#0 [fn_sig] computing function signature of `Foo::foo`
#1 [collect_mod_item_types] collecting item types in top-level module
#2 [analysis] running analysis passes on this crate
error: aborting due to previous error
------------------------------------------


@matthiaskrgr matthiaskrgr deleted the rollup-24pykip branch March 16, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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-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.