Skip to content

Commit c337b99

Browse files
committed
Fix test failures
1 parent 4863455 commit c337b99

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/doc/unstable-book/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
- [loop_break_value](loop-break-value.md)
114114
- [macro_reexport](macro-reexport.md)
115115
- [main](main.md)
116+
- [manually_drop](manually-drop.md)
116117
- [map_entry_recover_keys](map-entry-recover-keys.md)
117118
- [mpsc_select](mpsc-select.md)
118119
- [n16](n16.md)

src/doc/unstable-book/src/manually-drop.md

Whitespace-only changes.

src/test/compile-fail/forget-init-unsafe.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010

1111
#![feature(core_intrinsics)]
1212

13-
use std::intrinsics::{init, forget};
13+
use std::intrinsics::{init};
1414

1515
// Test that the `forget` and `init` intrinsics are really unsafe
1616
pub fn main() {
1717
let stuff = init::<isize>(); //~ ERROR call to unsafe function requires unsafe
18-
forget(stuff); //~ ERROR call to unsafe function requires unsafe
1918
}

0 commit comments

Comments
 (0)