rust/src/test/ui/single-primitive-inherent-impl.rs
Simon Jakobi 3ea62cb5d1 Remove redundant ignore-tidy-linelength annotations
This is step 2 towards fixing #77548.

In the codegen and codegen-units test suites, the `//` comment markers
were kept in order not to affect any source locations. This is because
these tests cannot be automatically `--bless`ed.
2021-04-03 22:30:20 +02:00

12 lines
228 B
Rust

#![crate_type = "lib"]
#![feature(lang_items)]
#![no_std]
// OK
#[lang = "str_alloc"]
impl str {}
impl str {
//~^ error: only a single inherent implementation marked with `#[lang = "str"]` is allowed for the `str` primitive
}