Merge from rustc
This commit is contained in:
commit
1ff41d320c
@ -257,7 +257,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<T, const LANES: usize> core::convert::From<Mask<T, LANES>> for Simd<T, LANES>
|
||||
impl<T, const LANES: usize> From<Mask<T, LANES>> for Simd<T, LANES>
|
||||
where
|
||||
T: MaskElement,
|
||||
LaneCount<LANES>: SupportedLaneCount,
|
||||
|
@ -71,7 +71,7 @@ macro_rules! deref_ops {
|
||||
|
||||
#[inline]
|
||||
#[must_use = "operator returns a new vector without mutating the inputs"]
|
||||
fn $call(self, rhs: &$simd) -> Self::Output {
|
||||
fn $call(self, rhs: &'rhs $simd) -> Self::Output {
|
||||
(*self).$call(*rhs)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user