Skip to content

Commit 113df80

Browse files
committed
Enable proc_macro_non_items in doc tests
1 parent 7e2f235 commit 113df80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! # Using Indoc
2121
//!
2222
//! ```rust
23-
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro)]")]
23+
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro, proc_macro_non_items)]")]
2424
#![cfg_attr(feature = "unstable", doc = "")]
2525
#![cfg_attr(not(feature = "unstable"), doc = " #[macro_use]")]
2626
//! extern crate indoc;
@@ -41,7 +41,7 @@
4141
//! Indoc also works with raw string literals:
4242
//!
4343
//! ```rust
44-
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro)]")]
44+
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro, proc_macro_non_items)]")]
4545
#![cfg_attr(feature = "unstable", doc = "")]
4646
#![cfg_attr(not(feature = "unstable"), doc = " #[macro_use]")]
4747
//! extern crate indoc;
@@ -62,7 +62,7 @@
6262
//! And byte string literals:
6363
//!
6464
//! ```rust
65-
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro)]")]
65+
#![cfg_attr(feature = "unstable", doc = " #![feature(proc_macro, proc_macro_non_items)]")]
6666
#![cfg_attr(feature = "unstable", doc = "")]
6767
#![cfg_attr(not(feature = "unstable"), doc = " #[macro_use]")]
6868
//! extern crate indoc;

0 commit comments

Comments
 (0)