]>
git.proxmox.com Git - rustc.git/blobdiff - vendor/thiserror/tests/ui/unexpected-field-fmt.rs
--- /dev/null
+use thiserror::Error;
+
+#[derive(Error, Debug)]
+pub enum Error {
+ What {
+ #[error("...")]
+ io: std::io::Error,
+ },
+}
+
+fn main() {}