• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![cfg(nightly)]
2 #![doc(test(
3     no_crate_inject,
4     attr(
5         deny(warnings, rust_2018_idioms, single_use_lifetimes),
6         allow(dead_code, unused_variables)
7     )
8 ))]
9 
10 // As `doc = include_str!` and `doc-comment` do not work with `cfg(test)`,
11 // and `cfg(doctest)` requires 1.40, these tests are split into this crate until
12 // MSRV increases.
13 
14 // https://github.com/rust-lang/rust/issues/82768
15 #[cfg_attr(doctest, cfg_attr(doctest, doc = include_str!("../../README.md")))]
16 const _README: () = ();
17