mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 21:32:03 +00:00
12 lines
241 B
Plaintext
12 lines
241 B
Plaintext
// run-rustfix
|
|
|
|
#[allow(unused)]
|
|
struct Struct<T>(T);
|
|
|
|
impl<T: Iterator> Struct<T> where <T as std:: iter::Iterator>::Item: std::fmt::Display {
|
|
//~^ ERROR expected `:` followed by trait or lifetime
|
|
//~| HELP use single colon
|
|
}
|
|
|
|
fn main() {}
|