Skip to content

Commit 8b45fa6

Browse files
committed
Auto merge of #148851 - Zalathar:rollup-4y7ywyd, r=Zalathar
Rollup of 16 pull requests Successful merges: - rust-lang/rust#146627 (Simplify `jemalloc` setup) - rust-lang/rust#147753 (Suggest add bounding value for RangeTo) - rust-lang/rust#147832 (rustdoc: Don't pass `RenderOptions` to `DocContext`) - rust-lang/rust#147974 (Improve diagnostics for buffer reuse with borrowed references) - rust-lang/rust#148080 ([rustdoc] Fix invalid jump to def macro link generation) - rust-lang/rust#148465 (Adjust spans into the `for` loops context before creating the new desugaring spans.) - rust-lang/rust#148500 (Update git index before running diff-index) - rust-lang/rust#148531 (rustc_target: introduce Abi, Env, Os) - rust-lang/rust#148536 (cmse: add test for `async` and `const` functions) - rust-lang/rust#148770 (implement `feature(c_variadic_naked_functions)`) - rust-lang/rust#148780 (fix filecheck typos in tests) - rust-lang/rust#148819 (Remove specialized warning for removed target) - rust-lang/rust#148830 (miri subtree update) - rust-lang/rust#148833 (Update rustbook dependencies) - rust-lang/rust#148834 (fix(rustdoc): Color doctest errors) - rust-lang/rust#148841 (Remove more `#[must_use]` from portable-simd) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 9b9c976 + c834547 commit 8b45fa6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

crates/core_simd/src/masks/bitmask.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ where
170170
{
171171
type Output = Self;
172172
#[inline]
173-
#[must_use = "method returns a new mask and does not mutate the original value"]
174173
fn bitand(mut self, rhs: Self) -> Self {
175174
for (l, r) in self.0.as_mut().iter_mut().zip(rhs.0.as_ref().iter()) {
176175
*l &= r;
@@ -187,7 +186,6 @@ where
187186
{
188187
type Output = Self;
189188
#[inline]
190-
#[must_use = "method returns a new mask and does not mutate the original value"]
191189
fn bitor(mut self, rhs: Self) -> Self {
192190
for (l, r) in self.0.as_mut().iter_mut().zip(rhs.0.as_ref().iter()) {
193191
*l |= r;
@@ -203,7 +201,6 @@ where
203201
{
204202
type Output = Self;
205203
#[inline]
206-
#[must_use = "method returns a new mask and does not mutate the original value"]
207204
fn bitxor(mut self, rhs: Self) -> Self::Output {
208205
for (l, r) in self.0.as_mut().iter_mut().zip(rhs.0.as_ref().iter()) {
209206
*l ^= r;
@@ -219,7 +216,6 @@ where
219216
{
220217
type Output = Self;
221218
#[inline]
222-
#[must_use = "method returns a new mask and does not mutate the original value"]
223219
fn not(mut self) -> Self::Output {
224220
for x in self.0.as_mut() {
225221
*x = !*x;

0 commit comments

Comments
 (0)