]> git.proxmox.com Git - rustc.git/blobdiff - vendor/thiserror/tests/ui/from-not-source.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / thiserror / tests / ui / from-not-source.stderr
diff --git a/vendor/thiserror/tests/ui/from-not-source.stderr b/vendor/thiserror/tests/ui/from-not-source.stderr
new file mode 100644 (file)
index 0000000..b656c8e
--- /dev/null
@@ -0,0 +1,5 @@
+error: #[from] is only supported on the source field, not any other field
+ --> $DIR/from-not-source.rs:7:5
+  |
+7 |     #[from]
+  |     ^^^^^^^