diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-02-27 21:40:02 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-02-27 21:51:42 +0100 |
| commit | 02e812af4d936a0984802bb76bb3e423e2fb94a5 (patch) | |
| tree | 196fe8bde7074c1a5fa2b0af4a74892c51c8188c /tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs | |
| parent | 17bda0c0febb8c51fb14a6856d365eab86fc6162 (diff) | |
| parent | 15180d4eb9dcff9441a8c3ff3382804123c5b0a1 (diff) | |
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs')
| -rw-r--r-- | tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs b/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs index 27d27564baf..7e42f095cbb 100644 --- a/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs +++ b/tests/ui-toml/modulo_arithmetic/modulo_arithmetic.rs @@ -4,7 +4,11 @@ fn main() { let a = -1; let b = 2; let c = a % b == 0; + //~^ modulo_arithmetic let c = a % b != 0; + //~^ modulo_arithmetic let c = 0 == a % b; + //~^ modulo_arithmetic let c = 0 != a % b; + //~^ modulo_arithmetic } |
