summaryrefslogtreecommitdiffstats
path: root/src/test/ui/attributes/field-attributes-vis-unresolved.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/attributes/field-attributes-vis-unresolved.rs')
-rw-r--r--src/test/ui/attributes/field-attributes-vis-unresolved.rs25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/ui/attributes/field-attributes-vis-unresolved.rs b/src/test/ui/attributes/field-attributes-vis-unresolved.rs
deleted file mode 100644
index d1bd2a1e7..000000000
--- a/src/test/ui/attributes/field-attributes-vis-unresolved.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-// Non-builtin attributes do not mess with field visibility resolution (issue #67006).
-
-mod internal {
- struct S {
- #[rustfmt::skip]
- pub(in crate::internal) field: u8 // OK
- }
-
- struct Z(
- #[rustfmt::skip]
- pub(in crate::internal) u8 // OK
- );
-}
-
-struct S {
- #[rustfmt::skip]
- pub(in nonexistent) field: u8 //~ ERROR failed to resolve
-}
-
-struct Z(
- #[rustfmt::skip]
- pub(in nonexistent) u8 //~ ERROR failed to resolve
-);
-
-fn main() {}