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 13 pull requests #78000

Closed
wants to merge 56 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a020142
Refactor io/buffered.rs into submodules
Lucretiel Sep 11, 2020
96229f0
move buffered.rs to mod.rs
Lucretiel Sep 11, 2020
6d75cdf
Added updated compiler diagnostic
Lucretiel Sep 15, 2020
da700cb
Stabilize move_ref_pattern
Amjad50 Aug 30, 2020
afb9eeb
Disabled error `E0007` from rustc_error_codes
Amjad50 Aug 30, 2020
c4280af
Retry fix error reporting suggestions
Lucretiel Sep 17, 2020
985da43
[mir-opt] Allow debuginfo to be generated for a constant or a Place
wesleywiser May 30, 2020
0b923d3
add `str::{Split,RSplit}::as_str` methods
WaffleLapkin Oct 1, 2020
4747215
add `str::{SplitN, RSplitN, SplitTerminator, RSplitTerminator}::as_st…
WaffleLapkin Oct 1, 2020
076514c
add `str::SplitInclusive::as_str` method
WaffleLapkin Oct 1, 2020
f84f01c
Use futex-based thread-parker for Wasm32.
m-ou-se Oct 6, 2020
54a71e8
For backtrace, use StaticMutex instead of a raw sys Mutex.
m-ou-se Oct 7, 2020
17eb8d8
ICEs should print the top of the query stack
hosseind75 Sep 19, 2020
20ea929
run full query stack print just when RUST_BACKTRACE is set
hosseind75 Sep 19, 2020
7ccca35
fix invalid-punct-ident-1 test
hosseind75 Sep 19, 2020
d6d4388
add filter regexes to load-panic-backtraces test
hosseind75 Sep 20, 2020
d60b7e2
fix show we're just showing... message instead of the end of query st…
hosseind75 Sep 23, 2020
6e7e4ac
fix clippy custom_ice_message test
hosseind75 Sep 25, 2020
15663a4
add new line
hosseind75 Sep 28, 2020
2124e9b
rebase with master
hosseind75 Sep 29, 2020
2b91b7f
ICEs should print the top of the query stack
hosseind75 Sep 19, 2020
01f838a
run full query stack print just when RUST_BACKTRACE is set
hosseind75 Sep 19, 2020
2bfdd64
change approach and run ui tests
hosseind75 Sep 19, 2020
b6e9f08
show a message when we are showing limited slice of query stack
hosseind75 Sep 19, 2020
3c56ba5
fix invalid-punct-ident-1 test
hosseind75 Sep 19, 2020
d1e3059
add filter regexes to load-panic-backtraces test
hosseind75 Sep 20, 2020
6c0f06a
fix show we're just showing... message instead of the end of query st…
hosseind75 Sep 23, 2020
c61d95b
remove new line
hosseind75 Sep 29, 2020
998186e
revert deleted new line
hosseind75 Oct 3, 2020
42ebae3
delete const-pat-ice test stderr
Oct 6, 2020
73d8f00
change condition for end of query stack message
Oct 8, 2020
7280f6a
rustc_parse: correct span on cast expr with attrs
calebcartwright Oct 10, 2020
4e82da4
rustc_parse: correct span on range expr with attrs
calebcartwright Oct 12, 2020
f4034eb
BTreeMap: test invariants more thoroughly and more readably
ssomers Oct 5, 2020
5875657
Fix comment about non-reentrant StaticMutex::lock().
m-ou-se Oct 7, 2020
44a2af3
Remove lifetime from StaticMutex and assume 'static.
m-ou-se Oct 7, 2020
46cc889
fix stderr file of clippy/custom_ice_message test
Oct 14, 2020
9752787
mangling: non-monomorphic `#[rustc_symbol_name]`
davidtwco Aug 18, 2020
fbdfe2c
mangling: encode all impl parameters
davidtwco Aug 24, 2020
95daa06
fix off-by-one in parameter spans
euclio Sep 26, 2020
14b2d16
ensure arguments are included in count mismatch span
euclio Sep 24, 2020
1c03f6d
Fix intra doc link for needs_drop
Manishearth Oct 15, 2020
7bd6403
fill in the tracking issue
WaffleLapkin Oct 15, 2020
73585b8
Rollup merge of #73210 - wesleywiser:consts_in_debuginfo, r=oli-obk
Dylan-DPC Oct 15, 2020
5e3b4fa
Rollup merge of #75023 - euclio:argument-span, r=estebank
Dylan-DPC Oct 15, 2020
355d81b
Rollup merge of #75265 - WaffleLapkin:str_split_as_str, r=dtolnay
Dylan-DPC Oct 15, 2020
bd66ce6
Rollup merge of #75675 - davidtwco:symbol-mangling-impl-params, r=eddyb
Dylan-DPC Oct 15, 2020
d7cd93c
Rollup merge of #76084 - Lucretiel:split-buffered, r=dtolnay
Dylan-DPC Oct 15, 2020
2c74117
Rollup merge of #76119 - Amjad50:stabilizing-move_ref_pattern, r=niko…
Dylan-DPC Oct 15, 2020
e16dee1
Rollup merge of #77493 - hosseind88:ICEs_should_always_print_the_top_…
Dylan-DPC Oct 15, 2020
284f1df
Rollup merge of #77612 - ssomers:btree_cleanup_2, r=Mark-Simulacrum
Dylan-DPC Oct 15, 2020
235fb8b
Rollup merge of #77619 - fusion-engineering-forks:wasm-parker, r=dtolnay
Dylan-DPC Oct 15, 2020
143aa29
Rollup merge of #77646 - fusion-engineering-forks:use-static-mutex, r…
Dylan-DPC Oct 15, 2020
a0781d4
Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dto…
Dylan-DPC Oct 15, 2020
7523b4b
Rollup merge of #77780 - calebcartwright:cast-expr-attr-span, r=oli-obk
Dylan-DPC Oct 15, 2020
0c1cfb3
Rollup merge of #77980 - Manishearth:needs-drop-intra, r=jyn514
Dylan-DPC Oct 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix show we're just showing... message instead of the end of query st…
…ack message when RUST_BACKTRACE=0
hosseind75 authored and hosseind88 committed Oct 9, 2020
commit d60b7e29f7f80674984c8d2f3567b15253b14f2f
6 changes: 5 additions & 1 deletion compiler/rustc_middle/src/ty/query/plumbing.rs
Original file line number Diff line number Diff line change
@@ -170,7 +170,11 @@ impl<'tcx> TyCtxt<'tcx> {
}
});

eprintln!("end of query stack");
if num_frames != None {
eprintln!("we're just showing a limited slice of the query stack");
} else {
eprintln!("end of query stack");
}
}
}

17 changes: 17 additions & 0 deletions src/test/ui/pattern/const-pat-ice.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', compiler/rustc_mir_build/src/thir/pattern/_match.rs:LL:CC
note: run with `RUST_BACKTRACE=1` environment variable to display a 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 VERSION running on TARGET

note: compiler flags: FLAGS

query stack during panic:
#0 [check_match] match-checking `main`
#1 [analysis] running analysis passes on this crate
we're just showing a limited slice of the query stack