1
Fork 0

Remove derives Encodable/Decodable and unstabilize attribute #[bench]

This commit is contained in:
Vadim Petrochenkov 2019-07-27 15:06:49 +03:00
parent 9152fe4ea0
commit 73dae4eaf9
20 changed files with 224 additions and 298 deletions

View file

@ -110,7 +110,7 @@ pub fn spin_loop() {
///
/// This function is a no-op, and does not even read from `dummy`.
#[inline]
#[unstable(feature = "test", issue = "27812")]
#[unstable(feature = "test", issue = "50297")]
#[allow(unreachable_code)] // this makes #[cfg] a bit easier below.
pub fn black_box<T>(dummy: T) -> T {
// We need to "use" the argument in some way LLVM can't introspect, and on