rust/tests/ui/unstable-feature-bound/unstable-feature-cross-crate-multiple-symbol.rs
2025-07-15 13:48:30 +00:00

12 lines
252 B
Rust

//@ aux-build:unstable_feature.rs
//@ check-pass
#![feature(feat_bar, feat_moo)]
extern crate unstable_feature;
use unstable_feature::{Foo, Bar};
/// Bar::foo() should still be usable even if we enable multiple feature.
fn main() {
Bar::foo();
}