This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
ba6fe58095f98f070d161ffdc6c59b51b59d41db
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 New Issue
Copy Permalink