rust/tests/ui/feature-gates/doc-rust-logo.rs

6 lines
143 B
Rust

#![doc(rust_logo)]
//~^ ERROR the `#[doc(rust_logo)]` attribute is used for Rust branding
//! This is not an official rust crate
fn main() {}