proc-macro-nested: fix tests
Source: https://github.com/dtolnay/proc-macro-hack/pull/49
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler
4 years ago
|
0 |
Index: proc-macro-nested/src/lib.rs
|
|
1 |
===================================================================
|
|
2 |
--- proc-macro-nested.orig/src/lib.rs
|
|
3 |
+++ proc-macro-nested/src/lib.rs
|
|
4 |
@@ -16,7 +16,7 @@
|
|
5 |
//! # const IGNORE: &str = stringify! {
|
|
6 |
//! #[proc_macro_hack]
|
|
7 |
//! pub use demo_hack_impl::add_one;
|
|
8 |
-//! # }
|
|
9 |
+//! # };
|
|
10 |
//! ```
|
|
11 |
//!
|
|
12 |
//! ```rust
|
|
13 |
@@ -24,7 +24,7 @@
|
|
14 |
//! # const IGNORE: &str = stringify! {
|
|
15 |
//! #[proc_macro_hack(support_nested)]
|
|
16 |
//! pub use demo_hack_impl::add_one;
|
|
17 |
-//! # }
|
|
18 |
+//! # };
|
|
19 |
//! ```
|
|
20 |
//!
|
|
21 |
//! No change is required within your definition crate, only to the re-export in
|