Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7612ad7
Vec drop and truncate: drop using raw slice *mut [T]
bluss Apr 14, 2020
5a5fa39
Handle build completion message from Cargo
Mark-Simulacrum Apr 25, 2020
c427438
sync alloc dump and pointer printing
RalfJung Apr 26, 2020
19eb934
print pointers more compactly when they are too big
RalfJung Apr 26, 2020
96cfb20
organize Debug/Display impls a bit more; avoid sign-ignorant decimal …
RalfJung Apr 26, 2020
5163f09
fmt
RalfJung Apr 26, 2020
b12faeb
keep 'pointer' terminology around
RalfJung Apr 27, 2020
f654daf
Vec IntoIter: Drop using raw slice
bluss Apr 28, 2020
1776de9
Bump pulldown-cmark
ehuss Apr 29, 2020
bd8a6d7
Allow `Downcast` projections unconditionally
ecstatic-morse Apr 29, 2020
a1aff18
Allow `Unreachable` terminators unconditionally
ecstatic-morse Apr 29, 2020
0592976
Bless tests
ecstatic-morse Apr 29, 2020
582d52f
Separate miri/ctfe unsupported operations
oli-obk Apr 16, 2020
b2395a5
Add a convenience function for testing whether a static is `#[thread_…
oli-obk Apr 17, 2020
a91bad6
Highlight an error that can only happen in CTFE
oli-obk Apr 30, 2020
9cdc932
Address review comments
oli-obk Apr 30, 2020
8079dd8
A test now fails during check instead of build
oli-obk Apr 30, 2020
2bafb1b
Update backtrace-sys
tmandry Apr 30, 2020
4adebb9
Rollup merge of #71148 - bluss:vec-drop-raw-slice, r=RalfJung
tmandry Apr 30, 2020
94433a6
Rollup merge of #71465 - oli-obk:is_thread_local_cleanup, r=matthewja…
tmandry Apr 30, 2020
01fffff
Rollup merge of #71567 - Mark-Simulacrum:no-success, r=matthiaskrgr
tmandry Apr 30, 2020
3c75f70
Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obk
tmandry Apr 30, 2020
8192cb6
Rollup merge of #71682 - ehuss:bump-pulldown-cmark, r=Dylan-DPC
tmandry Apr 30, 2020
a8e0511
Rollup merge of #71688 - ecstatic-morse:const-downcast, r=oli-obk
tmandry Apr 30, 2020
1b62bb6
Rollup merge of #71691 - ecstatic-morse:const-unreachable, r=oli-obk,…
tmandry Apr 30, 2020
59abc2a
Rollup merge of #71719 - tmandry:update-backtrace-sys, r=Mark-Simulacrum
tmandry Apr 30, 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
fmt
  • Loading branch information
RalfJung committed Apr 26, 2020
commit 5163f094ff77dac13524999d944ed957446497f1
6 changes: 1 addition & 5 deletions src/librustc_middle/mir/interpret/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ pub struct AllocId(pub u64);
// all the Miri types.
impl fmt::Debug for AllocId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
if f.alternate() {
write!(f, "a{}", self.0)
} else {
write!(f, "alloc{}", self.0)
}
if f.alternate() { write!(f, "a{}", self.0) } else { write!(f, "alloc{}", self.0) }
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/librustc_mir/util/pretty.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::BTreeSet;
use std::fmt::{Debug, Display};
use std::fmt::Write as _;
use std::fmt::{Debug, Display};
use std::fs;
use std::io::{self, Write};
use std::path::{Path, PathBuf};
Expand Down