diff options
Diffstat (limited to 'tests/ui/enum-discriminant/auxiliary')
-rw-r--r-- | tests/ui/enum-discriminant/auxiliary/discr-foreign-dep.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/enum-discriminant/auxiliary/discr-foreign-dep.rs b/tests/ui/enum-discriminant/auxiliary/discr-foreign-dep.rs new file mode 100644 index 000000000..a2cc10a4b --- /dev/null +++ b/tests/ui/enum-discriminant/auxiliary/discr-foreign-dep.rs @@ -0,0 +1,7 @@ +#[derive(Default)] +pub enum Foo { + A(u32), + #[default] + B, + C(u32), +} |