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
2
Packages
Projects
Releases
Wiki
Activity
Files
master
rust
/
tests
/
ui
/
macros
/
macro-attribute.rs
3 lines
75 B
Rust
Raw
Permalink
Normal View
History
Unescape
Escape
Accept arbitrary expressions in key-value attributes at parse time
2020-11-07 16:09:40 +03:00
#[
doc = $not_there
]
//~ ERROR expected expression, found `$`
added negative test for macro expansion in attributes
2014-12-01 11:08:29 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink