Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
43888e8
Refactor region error handling to be done by mirborrowckctx
mark-i-m Dec 11, 2019
94a9c62
add unreported error variant
mark-i-m Dec 17, 2019
3902e56
tidy
mark-i-m Dec 18, 2019
e5a1f48
fix outlives suggestions
mark-i-m Dec 18, 2019
5d9e74e
some more refactoring + maintain diagnostic status quo
mark-i-m Dec 18, 2019
e4379e6
make regionerrors a typedef
mark-i-m Dec 18, 2019
6903836
Remove iter_private.rs
qnighy Dec 21, 2019
5b06025
is_reported flag
mark-i-m Dec 21, 2019
bd0ea19
add comments
mark-i-m Dec 21, 2019
a155a9b
use vec instead of smallvec
mark-i-m Dec 21, 2019
4f0dc7b
misc cleanup in match MIR building
Centril Dec 20, 2019
f5a8d1a
simplify MIR building with cfg.goto(...)
Centril Dec 20, 2019
d855782
convert hrtb error
mark-i-m Dec 21, 2019
1d9c561
minor updates to comments
mark-i-m Dec 21, 2019
c010d84
Add simpler entry points to const eval for common usages.
skinnyBat Nov 29, 2019
cb599cc
Remove mem::uninitalized from tests
Mark-Simulacrum Dec 22, 2019
6878913
Document why Any is not an unsafe trait
Mark-Simulacrum Dec 22, 2019
76384e1
Rollup merge of #66877 - skinny121:const-eval-entry-points, r=oli-obk
Centril Dec 22, 2019
8f17dcb
Rollup merge of #67241 - mark-i-m:simplify-borrow_check-3, r=matthewj…
Centril Dec 22, 2019
c20b65c
Rollup merge of #67499 - Centril:mir-match-clean, r=matthewjasper
Centril Dec 22, 2019
66d6b5c
Rollup merge of #67506 - qnighy:remove-iter-private, r=Dylan-DPC
Centril Dec 22, 2019
dd1f3ca
Rollup merge of #67507 - Mark-Simulacrum:purge-uninit, r=Centril
Centril Dec 22, 2019
ab93543
Rollup merge of #67519 - Mark-Simulacrum:any-unsafe, r=Centril
Centril Dec 22, 2019
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
use vec instead of smallvec
  • Loading branch information
mark-i-m committed Dec 21, 2019
commit a155a9b67d9688a3d5b90361e5ea8a4a9bf3b0d6
2 changes: 1 addition & 1 deletion src/librustc_mir/borrow_check/diagnostics/region_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ enum Trace {
///
/// Usually we expect this to either be empty or contain a small number of items, so we can avoid
/// allocation most of the time.
crate type RegionErrors<'tcx> = smallvec::SmallVec<[RegionErrorKind<'tcx>; 4]>;
crate type RegionErrors<'tcx> = Vec<RegionErrorKind<'tcx>>;

#[derive(Clone, Debug)]
crate enum RegionErrorKind<'tcx> {
Expand Down