diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-07-01 20:20:14 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-13 00:03:31 +0500 |
| commit | 47b8a32ca311e2c441f4e7d747bfd75f0045baa1 (patch) | |
| tree | 081904d1f6314f1ba20a7aabfe52a2a02dc95a16 | |
| parent | bfc046a4b8d6b57db02540182466e989a9b0fb40 (diff) | |
| download | rust-47b8a32ca311e2c441f4e7d747bfd75f0045baa1.tar.gz rust-47b8a32ca311e2c441f4e7d747bfd75f0045baa1.zip | |
moved tests
| -rw-r--r-- | tests/ui/borrowck/super-let-lifetime-and-drop.borrowck.stderr (renamed from tests/ui/super-let.borrowck.stderr) | 26 | ||||
| -rw-r--r-- | tests/ui/borrowck/super-let-lifetime-and-drop.rs (renamed from tests/ui/super-let.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/cast/cast-enum-to-primitive-error.fixed (renamed from tests/ui/tag-variant-cast-non-nullary.fixed) | 0 | ||||
| -rw-r--r-- | tests/ui/cast/cast-enum-to-primitive-error.rs (renamed from tests/ui/tag-variant-cast-non-nullary.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/cast/cast-enum-to-primitive-error.stderr (renamed from tests/ui/tag-variant-cast-non-nullary.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/cast/coercion-as-explicit-cast.rs (renamed from tests/ui/trivial_casts-rpass.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/cast/coercion-as-explicit-cast.stderr (renamed from tests/ui/trivial_casts-rpass.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/generics/generic-enum-errors.rs (renamed from tests/ui/tag-type-args.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/generics/generic-enum-errors.stderr (renamed from tests/ui/tag-type-args.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/modules/module-super-access.rs (renamed from tests/ui/super.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/modules/super-at-crate-root.rs (renamed from tests/ui/super-at-top-level.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/modules/super-at-crate-root.stderr (renamed from tests/ui/super-at-top-level.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/parser/syntactic-trailing-commas.rs (renamed from tests/ui/trailing-comma.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/ptr_ops/ptr-swap-basic.rs (renamed from tests/ui/swap-1.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/ptr_ops/ptr-swap-overlapping-regions.rs (renamed from tests/ui/swap-overlapping.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/recursion/recursion-tail-call-no-arg-leak.rs (renamed from tests/ui/tail-call-arg-leak.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/recursion/recursion-tail-cps.rs (renamed from tests/ui/tail-cps.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/svh/svh-no-api-change-no-recompile.rs (renamed from tests/ui/svh-add-nothing.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/traits/trait-method-signature-mismatch.rs (renamed from tests/ui/trait-method-number-parameters.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/traits/trait-method-signature-mismatch.stderr (renamed from tests/ui/trait-method-number-parameters.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/traits/tryfrominterror-result-comparison.rs (renamed from tests/ui/try-from-int-error-partial-eq.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/transmute/transmute-array-to-scalar.rs (renamed from tests/ui/transmute-non-immediate-to-immediate.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/transmute/transmute-same-associated-type.rs (renamed from tests/ui/transmute-equal-assoc-types.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/typeck/mismatched-types-ref-binding.rs (renamed from tests/ui/switched-expectations.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/typeck/mismatched-types-ref-binding.stderr (renamed from tests/ui/switched-expectations.stderr) | 0 | ||||
| -rw-r--r-- | tests/ui/typeck/tail-return-type-mismatch.rs (renamed from tests/ui/tail-typeck.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/typeck/tail-return-type-mismatch.stderr (renamed from tests/ui/tail-typeck.stderr) | 0 |
27 files changed, 13 insertions, 13 deletions
diff --git a/tests/ui/super-let.borrowck.stderr b/tests/ui/borrowck/super-let-lifetime-and-drop.borrowck.stderr index 01ef29d8758..7fe0b47ed57 100644 --- a/tests/ui/super-let.borrowck.stderr +++ b/tests/ui/borrowck/super-let-lifetime-and-drop.borrowck.stderr @@ -1,5 +1,5 @@ error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:30:28 + --> $DIR/super-let-lifetime-and-drop.rs:30:28 | LL | super let b = DropMe(&mut x); | ------ `x` is borrowed here @@ -11,7 +11,7 @@ LL | } | - borrow might be used here, when `b` is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:46:28 + --> $DIR/super-let-lifetime-and-drop.rs:46:28 | LL | super let b = &DropMe(&mut x); | -------------- @@ -26,7 +26,7 @@ LL | } | - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:64:32 + --> $DIR/super-let-lifetime-and-drop.rs:64:32 | LL | super let b = identity(&DropMe(&mut x)); | -------------- @@ -40,7 +40,7 @@ LL | }; | - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:87:36 + --> $DIR/super-let-lifetime-and-drop.rs:87:36 | LL | super let b = identity(&DropMe(&mut x)); | -------------- @@ -55,7 +55,7 @@ LL | )); | - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:107:28 + --> $DIR/super-let-lifetime-and-drop.rs:107:28 | LL | super let b = DropMe(&mut x); | ------ `x` is borrowed here @@ -67,7 +67,7 @@ LL | } | - borrow might be used here, when `b` is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:125:28 + --> $DIR/super-let-lifetime-and-drop.rs:125:28 | LL | super let b = DropMe(&mut x); | ------ `x` is borrowed here @@ -79,7 +79,7 @@ LL | } | - borrow might be used here, when `b` is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:143:28 + --> $DIR/super-let-lifetime-and-drop.rs:143:28 | LL | super let b = DropMe(&mut x); | ------ `x` is borrowed here @@ -91,7 +91,7 @@ LL | } | - borrow might be used here, when `b` is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:159:28 + --> $DIR/super-let-lifetime-and-drop.rs:159:28 | LL | b = DropMe(&mut x); | ------ `x` is borrowed here @@ -102,7 +102,7 @@ LL | drop(a); | - borrow later used here error[E0716]: temporary value dropped while borrowed - --> $DIR/super-let.rs:172:33 + --> $DIR/super-let-lifetime-and-drop.rs:172:33 | LL | #[cfg(borrowck)] { a = &String::from("asdf"); }; | ^^^^^^^^^^^^^^^^^^^^- temporary value is freed at the end of this statement @@ -115,7 +115,7 @@ LL | let _ = a; = note: consider using a `let` binding to create a longer lived value error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:206:28 + --> $DIR/super-let-lifetime-and-drop.rs:206:28 | LL | super let d = &DropMe(&mut x); | -------------- @@ -130,7 +130,7 @@ LL | } | - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:227:32 + --> $DIR/super-let-lifetime-and-drop.rs:227:32 | LL | super let d = identity(&DropMe(&mut x)); | -------------- @@ -145,7 +145,7 @@ LL | }; | - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:246:28 + --> $DIR/super-let-lifetime-and-drop.rs:246:28 | LL | super let b = DropMe(&mut x); | ------ `x` is borrowed here @@ -157,7 +157,7 @@ LL | } | - borrow might be used here, when `b` is dropped and runs the `Drop` code for type `DropMe` error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/super-let.rs:263:28 + --> $DIR/super-let-lifetime-and-drop.rs:263:28 | LL | let dropme = Some(DropMe(&mut x)); | ------ `x` is borrowed here diff --git a/tests/ui/super-let.rs b/tests/ui/borrowck/super-let-lifetime-and-drop.rs index 380470f792f..380470f792f 100644 --- a/tests/ui/super-let.rs +++ b/tests/ui/borrowck/super-let-lifetime-and-drop.rs diff --git a/tests/ui/tag-variant-cast-non-nullary.fixed b/tests/ui/cast/cast-enum-to-primitive-error.fixed index 7e22116b955..7e22116b955 100644 --- a/tests/ui/tag-variant-cast-non-nullary.fixed +++ b/tests/ui/cast/cast-enum-to-primitive-error.fixed diff --git a/tests/ui/tag-variant-cast-non-nullary.rs b/tests/ui/cast/cast-enum-to-primitive-error.rs index 1a64cf1933d..1a64cf1933d 100644 --- a/tests/ui/tag-variant-cast-non-nullary.rs +++ b/tests/ui/cast/cast-enum-to-primitive-error.rs diff --git a/tests/ui/tag-variant-cast-non-nullary.stderr b/tests/ui/cast/cast-enum-to-primitive-error.stderr index 8ec1c5f11ec..8ec1c5f11ec 100644 --- a/tests/ui/tag-variant-cast-non-nullary.stderr +++ b/tests/ui/cast/cast-enum-to-primitive-error.stderr diff --git a/tests/ui/trivial_casts-rpass.rs b/tests/ui/cast/coercion-as-explicit-cast.rs index 701e2f6166f..701e2f6166f 100644 --- a/tests/ui/trivial_casts-rpass.rs +++ b/tests/ui/cast/coercion-as-explicit-cast.rs diff --git a/tests/ui/trivial_casts-rpass.stderr b/tests/ui/cast/coercion-as-explicit-cast.stderr index 74698b61ab4..74698b61ab4 100644 --- a/tests/ui/trivial_casts-rpass.stderr +++ b/tests/ui/cast/coercion-as-explicit-cast.stderr diff --git a/tests/ui/tag-type-args.rs b/tests/ui/generics/generic-enum-errors.rs index 75a54927443..75a54927443 100644 --- a/tests/ui/tag-type-args.rs +++ b/tests/ui/generics/generic-enum-errors.rs diff --git a/tests/ui/tag-type-args.stderr b/tests/ui/generics/generic-enum-errors.stderr index def13832e1a..def13832e1a 100644 --- a/tests/ui/tag-type-args.stderr +++ b/tests/ui/generics/generic-enum-errors.stderr diff --git a/tests/ui/super.rs b/tests/ui/modules/module-super-access.rs index 69aff4f98e0..69aff4f98e0 100644 --- a/tests/ui/super.rs +++ b/tests/ui/modules/module-super-access.rs diff --git a/tests/ui/super-at-top-level.rs b/tests/ui/modules/super-at-crate-root.rs index e4d587bc9ef..e4d587bc9ef 100644 --- a/tests/ui/super-at-top-level.rs +++ b/tests/ui/modules/super-at-crate-root.rs diff --git a/tests/ui/super-at-top-level.stderr b/tests/ui/modules/super-at-crate-root.stderr index 4dce81fbef4..4dce81fbef4 100644 --- a/tests/ui/super-at-top-level.stderr +++ b/tests/ui/modules/super-at-crate-root.stderr diff --git a/tests/ui/trailing-comma.rs b/tests/ui/parser/syntactic-trailing-commas.rs index 53b76fb6037..53b76fb6037 100644 --- a/tests/ui/trailing-comma.rs +++ b/tests/ui/parser/syntactic-trailing-commas.rs diff --git a/tests/ui/swap-1.rs b/tests/ui/ptr_ops/ptr-swap-basic.rs index b104c3ade42..b104c3ade42 100644 --- a/tests/ui/swap-1.rs +++ b/tests/ui/ptr_ops/ptr-swap-basic.rs diff --git a/tests/ui/swap-overlapping.rs b/tests/ui/ptr_ops/ptr-swap-overlapping-regions.rs index 38d5a8109d1..38d5a8109d1 100644 --- a/tests/ui/swap-overlapping.rs +++ b/tests/ui/ptr_ops/ptr-swap-overlapping-regions.rs diff --git a/tests/ui/tail-call-arg-leak.rs b/tests/ui/recursion/recursion-tail-call-no-arg-leak.rs index 234924307c3..234924307c3 100644 --- a/tests/ui/tail-call-arg-leak.rs +++ b/tests/ui/recursion/recursion-tail-call-no-arg-leak.rs diff --git a/tests/ui/tail-cps.rs b/tests/ui/recursion/recursion-tail-cps.rs index fe99dadf795..fe99dadf795 100644 --- a/tests/ui/tail-cps.rs +++ b/tests/ui/recursion/recursion-tail-cps.rs diff --git a/tests/ui/svh-add-nothing.rs b/tests/ui/svh/svh-no-api-change-no-recompile.rs index 6e4b9fa7f4c..6e4b9fa7f4c 100644 --- a/tests/ui/svh-add-nothing.rs +++ b/tests/ui/svh/svh-no-api-change-no-recompile.rs diff --git a/tests/ui/trait-method-number-parameters.rs b/tests/ui/traits/trait-method-signature-mismatch.rs index 719005d6643..719005d6643 100644 --- a/tests/ui/trait-method-number-parameters.rs +++ b/tests/ui/traits/trait-method-signature-mismatch.rs diff --git a/tests/ui/trait-method-number-parameters.stderr b/tests/ui/traits/trait-method-signature-mismatch.stderr index cf9b4f2ae79..cf9b4f2ae79 100644 --- a/tests/ui/trait-method-number-parameters.stderr +++ b/tests/ui/traits/trait-method-signature-mismatch.stderr diff --git a/tests/ui/try-from-int-error-partial-eq.rs b/tests/ui/traits/tryfrominterror-result-comparison.rs index 66a78b3f842..66a78b3f842 100644 --- a/tests/ui/try-from-int-error-partial-eq.rs +++ b/tests/ui/traits/tryfrominterror-result-comparison.rs diff --git a/tests/ui/transmute-non-immediate-to-immediate.rs b/tests/ui/transmute/transmute-array-to-scalar.rs index d99bbcc600f..d99bbcc600f 100644 --- a/tests/ui/transmute-non-immediate-to-immediate.rs +++ b/tests/ui/transmute/transmute-array-to-scalar.rs diff --git a/tests/ui/transmute-equal-assoc-types.rs b/tests/ui/transmute/transmute-same-associated-type.rs index 526f4ebbffa..526f4ebbffa 100644 --- a/tests/ui/transmute-equal-assoc-types.rs +++ b/tests/ui/transmute/transmute-same-associated-type.rs diff --git a/tests/ui/switched-expectations.rs b/tests/ui/typeck/mismatched-types-ref-binding.rs index c5bc84de54c..c5bc84de54c 100644 --- a/tests/ui/switched-expectations.rs +++ b/tests/ui/typeck/mismatched-types-ref-binding.rs diff --git a/tests/ui/switched-expectations.stderr b/tests/ui/typeck/mismatched-types-ref-binding.stderr index e235c2da1f7..e235c2da1f7 100644 --- a/tests/ui/switched-expectations.stderr +++ b/tests/ui/typeck/mismatched-types-ref-binding.stderr diff --git a/tests/ui/tail-typeck.rs b/tests/ui/typeck/tail-return-type-mismatch.rs index 1deb43c9496..1deb43c9496 100644 --- a/tests/ui/tail-typeck.rs +++ b/tests/ui/typeck/tail-return-type-mismatch.rs diff --git a/tests/ui/tail-typeck.stderr b/tests/ui/typeck/tail-return-type-mismatch.stderr index 3cfbfa0fb56..3cfbfa0fb56 100644 --- a/tests/ui/tail-typeck.stderr +++ b/tests/ui/typeck/tail-return-type-mismatch.stderr |
