aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0030_traits.rs
blob: 23c4be0e1848b0c6fd012766ec8d33accf195e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
pub trait WriteMessage {
    fn write_message(&FrontendMessage);
}

trait Runnable {
    fn handler();
}

trait TraitWithExpr {
    fn fn_with_expr(x: [i32; 1]);
}