summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr')
-rw-r--r--tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr b/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr
new file mode 100644
index 000000000..6b09ccd52
--- /dev/null
+++ b/tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr
@@ -0,0 +1,9 @@
+error[E0271]: type mismatch resolving `char == <u8 as Add>::Output`
+ --> $DIR/cast-checks-handling-projections.rs:5:5
+ |
+LL | (0u8 + 0u8) as char;
+ | ^^^^^^^^^^^ types differ
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0271`.