-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Update ui tests to nightly-2021-04-13 #324
Conversation
thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', compiler/rustc_errors/src/lib.rs:1018:13 | ||
stack backtrace: | ||
0: _rust_begin_unwind | ||
1: std::panicking::begin_panic_fmt | ||
2: rustc_errors::HandlerInner::flush_delayed | ||
3: <rustc_errors::HandlerInner as core::ops::drop::Drop>::drop | ||
4: core::ptr::drop_in_place<rustc_session::parse::ParseSess> | ||
5: <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop | ||
6: core::ptr::drop_in_place<rustc_interface::interface::Compiler> | ||
7: rustc_span::with_source_map | ||
8: rustc_interface::interface::create_compiler_and_run | ||
9: scoped_tls::ScopedKey<T>::set | ||
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | ||
|
||
error: internal compiler error: unexpected panic | ||
|
||
note: the compiler unexpectedly panicked. this is a bug. | ||
|
||
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.53.0-nightly (d0695c908 2021-04-12) running on x86_64-apple-darwin | ||
|
||
note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 --crate-type bin | ||
|
||
note: some of the compiler flags provided by cargo are hidden | ||
|
||
query stack during panic: | ||
end of query stack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bad idea to include an error message in the cross-platform ui test that includes the name of the toolchain and the target, so we need to avoid this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like rust-lang/rust#83921
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I don't think we should rely on the behavior of rustc that handles this correctly. That is, all repr(packed ...)
should be rejected on our part.
8dd9b64
to
c34d374
Compare
They will be rejected by rustc, but we should not rely on the behavior of rustc that rejects them.
bors r+ |
Build succeeded: |
No description provided.