Auto merge of #27309 - eddyb:snapshot-infdef, r=alexcrichton
FreeBSD i386 snapshot is missing, failed tests (possibly spurious). r? @alexcrichton
This commit is contained in:
@@ -300,7 +300,7 @@ impl<T: Clone> Clone for Box<T> {
|
||||
/// let y = x.clone();
|
||||
/// ```
|
||||
#[inline]
|
||||
fn clone(&self) -> Box<T> { box (HEAP) {(**self).clone()} }
|
||||
fn clone(&self) -> Box<T> { box {(**self).clone()} }
|
||||
/// Copies `source`'s contents into `self` without creating a new allocation.
|
||||
///
|
||||
/// # Examples
|
||||
|
||||
@@ -70,8 +70,6 @@
|
||||
test(no_crate_inject))]
|
||||
#![no_std]
|
||||
|
||||
// SNAP d4432b3
|
||||
#![allow(unused_features)] // until feature(placement_in_syntax) is in snap
|
||||
#![feature(allocator)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(coerce_unsized)]
|
||||
|
||||
Reference in New Issue
Block a user