Skip to content

Commit

Permalink
tests: Update private_in_public test
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 2, 2023
1 parent 18d271d commit cd19e4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Even if allows private_in_public, these are errors.

#![allow(private_in_public, dead_code)]
#![allow(private_interfaces, dead_code)]

pub enum PublicEnum {
V(PrivateEnum), //~ ERROR E0446
Expand Down
17 changes: 0 additions & 17 deletions tests/ui/pin_project/private_in_public-enum.stderr

This file was deleted.

0 comments on commit cd19e4f

Please sign in to comment.