rust/crates/ra_syntax/test_data/parser/ok/0030_traits.rs
2019-07-24 12:49:19 +03:00

12 lines
164 B
Rust

pub trait WriteMessage {
fn write_message(&FrontendMessage);
}
trait Runnable {
fn handler();
}
trait TraitWithExpr {
fn fn_with_expr(x: [i32; 1]);
}