From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../lint/lint-invalid-atomic-ordering-ptr.stderr | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/test/ui/lint/lint-invalid-atomic-ordering-ptr.stderr (limited to 'src/test/ui/lint/lint-invalid-atomic-ordering-ptr.stderr') diff --git a/src/test/ui/lint/lint-invalid-atomic-ordering-ptr.stderr b/src/test/ui/lint/lint-invalid-atomic-ordering-ptr.stderr deleted file mode 100644 index 12f4cad90..000000000 --- a/src/test/ui/lint/lint-invalid-atomic-ordering-ptr.stderr +++ /dev/null @@ -1,35 +0,0 @@ -error: atomic loads cannot have `Release` or `AcqRel` ordering - --> $DIR/lint-invalid-atomic-ordering-ptr.rs:15:20 - | -LL | let _ = x.load(Ordering::Release); - | ^^^^^^^^^^^^^^^^^ - | - = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` - = note: `#[deny(invalid_atomic_ordering)]` on by default - -error: atomic loads cannot have `Release` or `AcqRel` ordering - --> $DIR/lint-invalid-atomic-ordering-ptr.rs:17:20 - | -LL | let _ = x.load(Ordering::AcqRel); - | ^^^^^^^^^^^^^^^^ - | - = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` - -error: atomic stores cannot have `Acquire` or `AcqRel` ordering - --> $DIR/lint-invalid-atomic-ordering-ptr.rs:26:24 - | -LL | x.store(other_ptr, Ordering::Acquire); - | ^^^^^^^^^^^^^^^^^ - | - = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` - -error: atomic stores cannot have `Acquire` or `AcqRel` ordering - --> $DIR/lint-invalid-atomic-ordering-ptr.rs:28:24 - | -LL | x.store(other_ptr, Ordering::AcqRel); - | ^^^^^^^^^^^^^^^^ - | - = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` - -error: aborting due to 4 previous errors - -- cgit v1.2.3