summaryrefslogtreecommitdiffstats
path: root/src/test/ui/array-slice-vec/vec-res-add.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/array-slice-vec/vec-res-add.stderr')
-rw-r--r--src/test/ui/array-slice-vec/vec-res-add.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/array-slice-vec/vec-res-add.stderr b/src/test/ui/array-slice-vec/vec-res-add.stderr
new file mode 100644
index 000000000..751127136
--- /dev/null
+++ b/src/test/ui/array-slice-vec/vec-res-add.stderr
@@ -0,0 +1,11 @@
+error[E0369]: cannot add `Vec<R>` to `Vec<R>`
+ --> $DIR/vec-res-add.rs:16:15
+ |
+LL | let k = i + j;
+ | - ^ - Vec<R>
+ | |
+ | Vec<R>
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0369`.