chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
// Even if allows private_in_public, these are errors.
#![allow(private_interfaces, dead_code)]
pub enum PublicEnum {
V(PrivateEnum), //~ ERROR E0446
}
enum PrivateEnum {
V(u8),
}
mod foo {
pub(crate) enum CrateEnum {
V(PrivateEnum), //~ ERROR E0446
}
enum PrivateEnum {
V(u8),
}
}
fn main() {}