mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
19 lines
249 B
Rust
19 lines
249 B
Rust
pub mod foo {
|
|
#[macro_export]
|
|
macro_rules! makro {
|
|
($foo:ident) => {
|
|
fn $foo() { }
|
|
}
|
|
}
|
|
|
|
pub fn baz() {}
|
|
|
|
pub fn foobar() {}
|
|
|
|
pub mod barbaz {
|
|
pub fn barfoo() {}
|
|
}
|
|
}
|
|
|
|
pub fn foobaz() {}
|