fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: atomic loads cannot have `Release` or `AcqRel` ordering 2 --> $DIR/lint-invalid-atomic-ordering-int.rs:20:20 3 | 4LL | let _ = x.load(Ordering::Release); 5 | ^^^^^^^^^^^^^^^^^ 6 | 7 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 8 = note: `#[deny(invalid_atomic_ordering)]` on by default 9 10error: atomic loads cannot have `Release` or `AcqRel` ordering 11 --> $DIR/lint-invalid-atomic-ordering-int.rs:22:20 12 | 13LL | let _ = x.load(Ordering::AcqRel); 14 | ^^^^^^^^^^^^^^^^ 15 | 16 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 17 18error: atomic stores cannot have `Acquire` or `AcqRel` ordering 19 --> $DIR/lint-invalid-atomic-ordering-int.rs:26:16 20 | 21LL | x.store(1, Ordering::Acquire); 22 | ^^^^^^^^^^^^^^^^^ 23 | 24 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 25 26error: atomic stores cannot have `Acquire` or `AcqRel` ordering 27 --> $DIR/lint-invalid-atomic-ordering-int.rs:28:16 28 | 29LL | x.store(1, Ordering::AcqRel); 30 | ^^^^^^^^^^^^^^^^ 31 | 32 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 33 34error: atomic loads cannot have `Release` or `AcqRel` ordering 35 --> $DIR/lint-invalid-atomic-ordering-int.rs:45:20 36 | 37LL | let _ = x.load(Ordering::Release); 38 | ^^^^^^^^^^^^^^^^^ 39 | 40 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 41 42error: atomic loads cannot have `Release` or `AcqRel` ordering 43 --> $DIR/lint-invalid-atomic-ordering-int.rs:47:20 44 | 45LL | let _ = x.load(Ordering::AcqRel); 46 | ^^^^^^^^^^^^^^^^ 47 | 48 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 49 50error: atomic stores cannot have `Acquire` or `AcqRel` ordering 51 --> $DIR/lint-invalid-atomic-ordering-int.rs:51:16 52 | 53LL | x.store(1, Ordering::Acquire); 54 | ^^^^^^^^^^^^^^^^^ 55 | 56 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 57 58error: atomic stores cannot have `Acquire` or `AcqRel` ordering 59 --> $DIR/lint-invalid-atomic-ordering-int.rs:53:16 60 | 61LL | x.store(1, Ordering::AcqRel); 62 | ^^^^^^^^^^^^^^^^ 63 | 64 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 65 66error: atomic loads cannot have `Release` or `AcqRel` ordering 67 --> $DIR/lint-invalid-atomic-ordering-int.rs:70:20 68 | 69LL | let _ = x.load(Ordering::Release); 70 | ^^^^^^^^^^^^^^^^^ 71 | 72 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 73 74error: atomic loads cannot have `Release` or `AcqRel` ordering 75 --> $DIR/lint-invalid-atomic-ordering-int.rs:72:20 76 | 77LL | let _ = x.load(Ordering::AcqRel); 78 | ^^^^^^^^^^^^^^^^ 79 | 80 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 81 82error: atomic stores cannot have `Acquire` or `AcqRel` ordering 83 --> $DIR/lint-invalid-atomic-ordering-int.rs:76:16 84 | 85LL | x.store(1, Ordering::Acquire); 86 | ^^^^^^^^^^^^^^^^^ 87 | 88 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 89 90error: atomic stores cannot have `Acquire` or `AcqRel` ordering 91 --> $DIR/lint-invalid-atomic-ordering-int.rs:78:16 92 | 93LL | x.store(1, Ordering::AcqRel); 94 | ^^^^^^^^^^^^^^^^ 95 | 96 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 97 98error: atomic loads cannot have `Release` or `AcqRel` ordering 99 --> $DIR/lint-invalid-atomic-ordering-int.rs:95:20 100 | 101LL | let _ = x.load(Ordering::Release); 102 | ^^^^^^^^^^^^^^^^^ 103 | 104 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 105 106error: atomic loads cannot have `Release` or `AcqRel` ordering 107 --> $DIR/lint-invalid-atomic-ordering-int.rs:97:20 108 | 109LL | let _ = x.load(Ordering::AcqRel); 110 | ^^^^^^^^^^^^^^^^ 111 | 112 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 113 114error: atomic stores cannot have `Acquire` or `AcqRel` ordering 115 --> $DIR/lint-invalid-atomic-ordering-int.rs:101:16 116 | 117LL | x.store(1, Ordering::Acquire); 118 | ^^^^^^^^^^^^^^^^^ 119 | 120 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 121 122error: atomic stores cannot have `Acquire` or `AcqRel` ordering 123 --> $DIR/lint-invalid-atomic-ordering-int.rs:103:16 124 | 125LL | x.store(1, Ordering::AcqRel); 126 | ^^^^^^^^^^^^^^^^ 127 | 128 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 129 130error: atomic loads cannot have `Release` or `AcqRel` ordering 131 --> $DIR/lint-invalid-atomic-ordering-int.rs:120:20 132 | 133LL | let _ = x.load(Ordering::Release); 134 | ^^^^^^^^^^^^^^^^^ 135 | 136 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 137 138error: atomic loads cannot have `Release` or `AcqRel` ordering 139 --> $DIR/lint-invalid-atomic-ordering-int.rs:122:20 140 | 141LL | let _ = x.load(Ordering::AcqRel); 142 | ^^^^^^^^^^^^^^^^ 143 | 144 = help: consider using ordering modes `Acquire`, `SeqCst` or `Relaxed` 145 146error: atomic stores cannot have `Acquire` or `AcqRel` ordering 147 --> $DIR/lint-invalid-atomic-ordering-int.rs:126:16 148 | 149LL | x.store(1, Ordering::Acquire); 150 | ^^^^^^^^^^^^^^^^^ 151 | 152 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 153 154error: atomic stores cannot have `Acquire` or `AcqRel` ordering 155 --> $DIR/lint-invalid-atomic-ordering-int.rs:128:16 156 | 157LL | x.store(1, Ordering::AcqRel); 158 | ^^^^^^^^^^^^^^^^ 159 | 160 = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` 161 162error: aborting due to 20 previous errors 163