Skip to content

Commit 910f874

Browse files
committed
Auto merge of #1315 - RalfJung:housekeeping, r=RalfJung
Housekeeping
2 parents bc65281 + 280394d commit 910f874

File tree

8 files changed

+97
-184
lines changed

8 files changed

+97
-184
lines changed

Cargo.lock

Lines changed: 78 additions & 156 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
42abbd8878d3b67238f3611b0587c704ba94f39c
1+
0c835b0cca83fe21090562603e4bda77c183ace3

test-cargo-miri/Cargo.lock

Lines changed: 13 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/compile-fail/deallocate-bad-alignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::alloc::{alloc, dealloc, realloc, Layout};
1+
use std::alloc::{alloc, dealloc, Layout};
22

33
// error-pattern: allocation has size 1 and alignment 1, but gave size 1 and alignment 2
44

tests/compile-fail/deallocate-bad-size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::alloc::{alloc, dealloc, realloc, Layout};
1+
use std::alloc::{alloc, dealloc, Layout};
22

33
// error-pattern: allocation has size 1 and alignment 1, but gave size 2 and alignment 1
44

tests/compile-fail/deallocate-twice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::alloc::{alloc, dealloc, realloc, Layout};
1+
use std::alloc::{alloc, dealloc, Layout};
22

33
// error-pattern: dereferenced after this allocation got freed
44

tests/compile-fail/reallocate-bad-size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::alloc::{alloc, dealloc, realloc, Layout};
1+
use std::alloc::{alloc, realloc, Layout};
22

33
// error-pattern: allocation has size 1 and alignment 1, but gave size 2 and alignment 1
44

tests/compile-fail/reallocate-change-alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::alloc::{alloc, dealloc, realloc, Layout};
1+
use std::alloc::{alloc, realloc, Layout};
22

33
fn main() {
44
unsafe {

0 commit comments

Comments
 (0)