1
0
Fork 0
firefox/third_party/rust/inherent/tests/ui/not-visible.rs
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
215 B
Rust

mod types {
use inherent::inherent;
trait Trait {
fn f();
}
pub struct Struct;
#[inherent]
impl Trait for Struct {
fn f() {}
}
}
fn main() {
types::Struct::f();
}