This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-06 06:57:42 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c5819b2b9b
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 11:47:14 +00:00
// check-pass
Lint empty 'derive()' as unused attribute.
2019-06-22 11:19:34 +00:00
#![
deny(unused)
]
syntax: implement #[deriving] meta-attribute
2013-03-11 20:47:23 +00:00
expand/resolve: Turn `#[derive]` into a regular macro attribute
2020-11-14 11:47:14 +00:00
#[
derive()
]
// OK
Lint empty 'derive()' as unused attribute.
2019-06-22 11:19:34 +00:00
struct
_Bar
;
syntax: implement #[deriving] meta-attribute
2013-03-11 20:47:23 +00:00
pub
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink