This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
1f76d219c9
rust
/
tests
/
ui
/
macros
/
macro-in-fn.rs
9 lines
94 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
When declaring a declarative macro in an item it's only accessible inside it
2019-08-15 18:58:20 -07:00
#![
feature(decl_macro)
]
pub
fn
moo
(
)
{
pub
macro
ABC
(
)
{
{
}
}
}
review comments
2019-08-21 16:11:01 -07:00
fn
main
(
)
{
}
Reference in a new issue
Copy permalink