rust/tests/ui/binop
Jieyou Xu 40b73322b9
tests: adjust some augmented-assignment* tests
- `tests/ui/augmented-assignment-feature-gate-cross.rs`:
  - This was *originally* to feature-gate overloaded OpAssign
    cross-crate, but now let's keep it as a smoke test.
  - Renamed as `augmented-assignment-cross-crate.rs`.
  - Relocated under `tests/ui/binop/`.
-  `tests/ui/augmented-assignments.rs`:
  - Documented test intent.
  - Moved under `tests/ui/borrowck/`.
- `tests/ui/augmented-assignment-rpass.rs`:
  - Renamed to drop the `-rpass` suffix, since this was leftover from
    when `run-pass` test suite was a thing.
  - Moved under `tests/ui/binop/`.
2025-04-19 18:42:24 +08:00
..
auxiliary tests: adjust some augmented-assignment* tests 2025-04-19 18:42:24 +08:00
augmented-assignment.rs tests: adjust some augmented-assignment* tests 2025-04-19 18:42:24 +08:00
augmented-assignments-cross-crate.rs tests: adjust some augmented-assignment* tests 2025-04-19 18:42:24 +08:00
binary-minus-without-space.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
binary-op-not-allowed-issue-125631.rs Change E0369 diagnostic give note information for foreign items. 2024-06-25 10:00:30 +08:00
binary-op-not-allowed-issue-125631.stderr Change E0369 diagnostic give note information for foreign items. 2024-06-25 10:00:30 +08:00
binary-op-on-double-ref.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
binary-op-on-double-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
binary-op-on-double-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
binary-op-on-fn-ptr-eq.rs Allow fn pointers comparisons lint in UI tests 2024-12-02 18:43:37 +01:00
binary-op-suggest-deref.rs Fix ICE when suggesting dereferencing binop operands 2024-01-12 17:49:37 -08:00
binary-op-suggest-deref.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
binop-bitxor-str.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
binop-bitxor-str.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
binop-consume-args.rs
binop-consume-args.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
binop-fail-3.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
binop-logic-float.rs
binop-logic-float.stderr
binop-logic-int.rs
binop-logic-int.stderr
binop-move-semantics.rs
binop-move-semantics.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
binop-mul-bool.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
binop-mul-bool.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
binop-mul-i32-f32.rs
binop-mul-i32-f32.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
binop-panic.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
binop-typeck.rs
binop-typeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
binops-issue-22743.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
binops.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
borrow-suggestion-109352-2.rs Improve diagnostic for wrong borrow on binary operations 2023-08-01 10:08:17 +02:00
borrow-suggestion-109352-2.stderr Improve diagnostic for wrong borrow on binary operations 2023-08-01 10:08:17 +02:00
borrow-suggestion-109352.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
borrow-suggestion-109352.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
borrow-suggestion-109352.stderr Improve diagnostic for wrong borrow on binary operations 2023-08-01 10:08:17 +02:00
eq-arr.rs Provide RHS type hint when reporting operator error 2023-04-27 01:34:03 +00:00
eq-arr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
eq-vec.rs Provide RHS type hint when reporting operator error 2023-04-27 01:34:03 +00:00
eq-vec.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
false-binop-caused-by-missing-semi.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
false-binop-caused-by-missing-semi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
false-binop-caused-by-missing-semi.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-3820.rs
issue-3820.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-25916.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-28837.rs Improved wording of error messages of missing remainder implementations 2023-01-30 19:54:33 +00:00
issue-28837.stderr Provide RHS type hint when reporting operator error 2023-04-27 01:34:03 +00:00
issue-62375.rs Move some tests 2024-02-09 15:43:08 -03:00
issue-62375.stderr Move some tests 2024-02-09 15:43:08 -03:00
issue-77910-1.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-77910-1.stderr Handle more cases of value suggestions 2024-04-10 20:36:14 +00:00
issue-77910-2.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-77910-2.stderr Handle more cases of value suggestions 2024-04-10 20:36:14 +00:00
issue-93927.rs
issue-93927.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
multiply-is-deref-on-rhs.rs Don't delay a bug if we suggest adding a semicolon to the RHS of an assign operator 2024-04-10 15:07:13 -04:00
multiply-is-deref-on-rhs.stderr Don't delay a bug if we suggest adding a semicolon to the RHS of an assign operator 2024-04-10 15:07:13 -04:00
nested-assignment-may-be-deref.rs Only suppress binop error in favor of semicolon suggestion if we're in an assignment statement 2024-05-23 19:22:55 -04:00
nested-assignment-may-be-deref.stderr Only suppress binop error in favor of semicolon suggestion if we're in an assignment statement 2024-05-23 19:22:55 -04:00
operator-multidispatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
operator-overloading.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
placement-syntax.rs
placement-syntax.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
shift-various-bad-types.rs
shift-various-bad-types.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
structured-compare.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00