forked from gentoo-utils/gentoo-utils
Merge commit '6eba9cd92c295c5389944f6adda1f1e83b2cb008' as 'subprojects/thiserror'
This commit is contained in:
5
subprojects/thiserror/tests/ui/struct-with-fmt.stderr
Normal file
5
subprojects/thiserror/tests/ui/struct-with-fmt.stderr
Normal file
@@ -0,0 +1,5 @@
|
||||
error: #[error(fmt = ...)] is only supported in enums; for a struct, handwrite your own Display impl
|
||||
--> tests/ui/struct-with-fmt.rs:4:1
|
||||
|
|
||||
4 | #[error(fmt = core::fmt::Octal::fmt)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Reference in New Issue
Block a user