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 #120807

Merged
merged 20 commits into from
Feb 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6b2a824
Remove dead args from functions
compiler-errors Feb 2, 2024
cd21b1d
No need to take ImplTraitContext by ref
compiler-errors Feb 7, 2024
0ce71f6
make future diffs minimal
tshepang Feb 8, 2024
f676c3d
Remove myself from review rotation.
m-ou-se Feb 8, 2024
30793ca
Match `min_exhaustive_patterns` implementation with `exhaustive_patte…
Nadrieril Feb 7, 2024
4733b1b
Test `min_exhaustive_patterns` in more cases
Nadrieril Feb 8, 2024
da4ec6f
Deduplicate `tcx.instance_mir(instance)` calls in `try_instance_mir`
zetanumbers Feb 8, 2024
6af2d3c
Fix `span_bug!` backtraces
oli-obk Feb 8, 2024
7dc182d
Fix mir pass ICE in the presence of other errors
oli-obk Feb 8, 2024
5cb9e31
Add release note for new ambiguous_wide_pointer_comparisons lint
carols10cents Feb 8, 2024
ad511ef
Avoid ICE in drop recursion check in case of invalid drop impls
oli-obk Feb 8, 2024
4ffb1a7
Rollup merge of #120590 - compiler-errors:dead, r=Nilstrieb
matthiaskrgr Feb 8, 2024
1f31daa
Rollup merge of #120750 - compiler-errors:itctx-by-val, r=cjgillot
matthiaskrgr Feb 8, 2024
2386c7c
Rollup merge of #120769 - tshepang:minimal-diffs, r=wesleywiser
matthiaskrgr Feb 8, 2024
abef17d
Rollup merge of #120772 - m-ou-se:review, r=Nilstrieb
matthiaskrgr Feb 8, 2024
949e552
Rollup merge of #120775 - Nadrieril:more-min_exh_pats, r=compiler-errors
matthiaskrgr Feb 8, 2024
3e523f6
Rollup merge of #120778 - zetanumbers:refactor_try_instance_mir, r=co…
matthiaskrgr Feb 8, 2024
1db56fb
Rollup merge of #120782 - oli-obk:track_errors8, r=WaffleLapkin
matthiaskrgr Feb 8, 2024
9565e8d
Rollup merge of #120783 - integer32llc:improve-release-notes, r=Mark-…
matthiaskrgr Feb 8, 2024
ed52851
Rollup merge of #120801 - oli-obk:drop_recursion_ice, r=Nilstrieb
matthiaskrgr Feb 8, 2024
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 span_bug! backtraces
  • Loading branch information
oli-obk committed Feb 8, 2024
commit 6af2d3cc90f7625ad3db4687a93abebfa9e8396a
1 change: 1 addition & 0 deletions compiler/rustc_errors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ impl DiagCtxt {
self.struct_span_warn(span, msg).emit()
}

#[track_caller]
pub fn span_bug(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) -> ! {
self.struct_span_bug(span, msg).emit()
}
Expand Down