mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
auto merge of #11190 : eliovir/rust/patch-3, r=alexcrichton
#[ author = "Jane Doe" ]; raises "warning: unknown crate attribute" replace `pkgid` by `crate_id` add `comment`
This commit is contained in:
commit
6db7e35c59
@ -615,7 +615,7 @@ the behavior of the compiler.
|
||||
// Additional metadata attributes
|
||||
#[ desc = "Project X" ];
|
||||
#[ license = "BSD" ];
|
||||
#[ author = "Jane Doe" ];
|
||||
#[ comment = "This is a comment on Project X." ];
|
||||
|
||||
// Specify the output type
|
||||
#[ crate_type = "lib" ];
|
||||
|
Loading…
Reference in New Issue
Block a user