diff options
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.rs | 2 |
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]` |
