mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
9 lines
216 B
Rust
9 lines
216 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() {}
|