summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/normalized-const-built-in-op.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/normalized-const-built-in-op.rs')
-rw-r--r--tests/ui/traits/new-solver/normalized-const-built-in-op.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/traits/new-solver/normalized-const-built-in-op.rs b/tests/ui/traits/new-solver/normalized-const-built-in-op.rs
deleted file mode 100644
index 2443e5178..000000000
--- a/tests/ui/traits/new-solver/normalized-const-built-in-op.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// compile-flags: -Ztrait-solver=next
-// check-pass
-
-const fn foo() {
- let mut x = [1, 2, 3];
- // We need to fix up `<<[i32; 3] as Index<usize>>::Output as AddAssign>`
- // to be treated like a built-in operation.
- x[1] += 5;
-}
-
-fn main() {}