Implement suggestions from code review.
This commit is contained in:
parent
0bee80210d
commit
7d03870882
2 changed files with 35 additions and 25 deletions
|
|
@ -1,9 +1,17 @@
|
|||
//! See issue #74355
|
||||
#![feature(decl_macro, no_core, rustc_attrs)]
|
||||
#![crate_name = "krate"]
|
||||
#![feature(decl_macro)]
|
||||
#![no_core]
|
||||
|
||||
// @has krate/some_module/macro.my_macro.html
|
||||
pub mod some_module {
|
||||
//
|
||||
pub mod inner {
|
||||
// @has krate/inner/macro.my_macro.html
|
||||
pub macro my_macro() {}
|
||||
|
||||
// @has krate/inner/macro.test.html
|
||||
#[rustc_builtin_macro]
|
||||
pub macro test($item:item) {}
|
||||
|
||||
// @has krate/inner/macro.Clone.html
|
||||
#[rustc_builtin_macro]
|
||||
pub macro Clone($item:item) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue