Skip to content

Commit 0c45546

Browse files
committed
fix tests
1 parent 442bef7 commit 0c45546

File tree

8 files changed

+26
-1
lines changed

8 files changed

+26
-1
lines changed

src/librustc_mir/interpret/validity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl<'rt, 'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>>
353353
match self.ecx.memory.check_align(ptr, align) {
354354
Ok(_) => {},
355355
Err(err) => {
356-
error!("{:?} is not aligned to {:?}", ptr, align);
356+
info!("{:?} is not aligned to {:?}", ptr, align);
357357
match err.kind {
358358
InterpError::InvalidNullPointerUsage =>
359359
return validation_failure!("NULL reference", self.path),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `a(b=c)` (expected `key` or `key="value"`)
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `a{b}` (expected `key` or `key="value"`)
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `a::b` (argument key must be an identifier)
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `a(b)` (expected `key` or `key="value"`)
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `a=10` (argument value must be a string)
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: invalid `--cfg` argument: `""` (expected `key` or `key="value"`)
2+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1069:5
2+
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
3+
4+
error: internal compiler error: unexpected panic
5+
6+
note: the compiler unexpectedly panicked. this is a bug.
7+
8+
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
9+
10+
note: rustc 1.35.0-dev running on x86_64-unknown-linux-gnu
11+
12+
note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath
13+

0 commit comments

Comments
 (0)