Skip to content

Commit 5531e31

Browse files
committed
Mask warnings from the rust workspace
1 parent 7ffde12 commit 5531e31

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

rayon-core/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
//! succeed.
2121
2222
#![doc(html_root_url = "https://docs.rs/rayon-core/1.6")]
23+
#![allow(elided_lifetimes_in_paths)]
2324

2425
use std::any::Any;
2526
use std::env;

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#![deny(missing_debug_implementations)]
33
#![deny(missing_docs)]
44
#![deny(unreachable_pub)]
5+
#![allow(rustc::default_hash_types)]
6+
#![allow(elided_lifetimes_in_paths)]
7+
#![allow(explicit_outlives_requirements)]
58

69
//! Data-parallelism library that makes it easy to convert sequential
710
//! computations into parallel

src/slice/quicksort.rs

+2
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,15 @@ where
256256
let mut block_l = BLOCK;
257257
let mut start_l = ptr::null_mut();
258258
let mut end_l = ptr::null_mut();
259+
#[allow(deprecated)]
259260
let mut offsets_l: [u8; BLOCK] = unsafe { mem::uninitialized() };
260261

261262
// The current block on the right side (from `r.offset(-block_r)` to `r`).
262263
let mut r = unsafe { l.add(v.len()) };
263264
let mut block_r = BLOCK;
264265
let mut start_r = ptr::null_mut();
265266
let mut end_r = ptr::null_mut();
267+
#[allow(deprecated)]
266268
let mut offsets_r: [u8; BLOCK] = unsafe { mem::uninitialized() };
267269

268270
// Returns the number of elements between pointers `l` (inclusive) and `r` (exclusive).

0 commit comments

Comments
 (0)