about summary refs log tree commit diff
path: root/tests/ui/repeat-expr/copy-check-inference-side-effects.rs
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2025-04-14 13:41:18 +0100
committerBoxy <rust@boxyuwu.dev>2025-05-22 11:39:49 +0100
commitcc10370fc8b2b412600aa846e3046b8a09dda7ca (patch)
tree143426ba52b215b8b9693e20bafb7140d509203d /tests/ui/repeat-expr/copy-check-inference-side-effects.rs
parent43162597292f904ff5ff47e251ba40fb9ae41ded (diff)
downloadrust-cc10370fc8b2b412600aa846e3046b8a09dda7ca.tar.gz
rust-cc10370fc8b2b412600aa846e3046b8a09dda7ca.zip
Reviews
Diffstat (limited to 'tests/ui/repeat-expr/copy-check-inference-side-effects.rs')
-rw-r--r--tests/ui/repeat-expr/copy-check-inference-side-effects.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/repeat-expr/copy-check-inference-side-effects.rs b/tests/ui/repeat-expr/copy-check-inference-side-effects.rs
index 416a20169fb..4e3bfdead26 100644
--- a/tests/ui/repeat-expr/copy-check-inference-side-effects.rs
+++ b/tests/ui/repeat-expr/copy-check-inference-side-effects.rs
@@ -12,7 +12,7 @@ impl Copy for Foo<1> {}
 fn unify<const N: usize>(_: &[Foo<N>; 2], _: &[String; N]) {}
 
 fn works_if_inference_side_effects() {
-    // This will only pass if inference side effectrs from proving `Foo<?x>: Copy` are
+    // This will only pass if inference side effects from proving `Foo<?x>: Copy` are
     // able to be relied upon by other repeat expressions.
     let a /* : [Foo<?x>; 2] */ = [Foo::<_>; 2];
     //~^ ERROR: type annotations needed for `[Foo<_>; 2]`