This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
58e901b6fd
rust
/
tests
/
ui
/
derives
/
deriving-meta-empty-trait-list.rs
9 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
expand/resolve: Turn `#[derive]` into a regular macro attribute
2020-11-14 14:47:14 +03:00
// check-pass
Lint empty 'derive()' as unused attribute.
2019-06-22 13:19:34 +02:00
#![
deny(unused)
]
syntax: implement #[deriving] meta-attribute
2013-03-11 16:47:23 -04:00
expand/resolve: Turn `#[derive]` into a regular macro attribute
2020-11-14 14:47:14 +03:00
#[
derive()
]
// OK
Lint empty 'derive()' as unused attribute.
2019-06-22 13:19:34 +02:00
struct
_Bar
;
syntax: implement #[deriving] meta-attribute
2013-03-11 16:47:23 -04:00
pub
fn
main
(
)
{
}
Copy permalink