summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-2330.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/resolve/issue-2330.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/resolve/issue-2330.stderr b/src/test/ui/resolve/issue-2330.stderr
new file mode 100644
index 000000000..877cf68b5
--- /dev/null
+++ b/src/test/ui/resolve/issue-2330.stderr
@@ -0,0 +1,9 @@
+error[E0404]: expected trait, found enum `Chan`
+ --> $DIR/issue-2330.rs:8:6
+ |
+LL | impl Chan for isize {
+ | ^^^^ not a trait
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0404`.