rust/src/test/ui/weak-new-uninhabited-issue-48493.rs

8 lines
114 B
Rust
Raw Normal View History

// run-pass
fn main() {
enum Void {}
std::rc::Weak::<Void>::new();
std::sync::Weak::<Void>::new();
}