rust/crates/ra_syntax/tests/data/parser/ok/0030_traits.rs
2018-09-16 13:07:39 +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]);
}