blob: 008c84f71623074bcc837b47bec7423c1c51bf2a [file] [log] [blame] [edit]
//@ edition:2021
#![deny(rustdoc::invalid_rust_codeblocks)]
//~^ NOTE lint level is defined here
// By default, rustdoc should use the edition of the crate.
//! ```
//! foo'b'
//! ```
//~^^^ ERROR could not parse
//~| NOTE prefix `foo` is unknown
// Rustdoc should respect `edition2018` when highlighting syntax.
//! ```edition2018
//! foo'b'
//! ```