rust/crates/libsyntax2/tests/data/parser/ok/0030_traits.rs
2018-08-13 18:24:17 +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]);
}