mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 06:34:22 +00:00
9 lines
217 B
Rust
9 lines
217 B
Rust
//@ check-pass
|
|
|
|
#![feature(trait_alias)]
|
|
|
|
trait Foo = std::fmt::Display + std::fmt::Debug;
|
|
trait bar = std::fmt::Display + std::fmt::Debug; //~WARN trait alias `bar` should have an upper camel case name
|
|
|
|
fn main() {}
|