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
300901b70509a0af2d971aa6f6104300da24212c
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
(
)
{
}
Reference in New Issue
Copy Permalink