about summary refs log tree commit diff
path: root/tests/ui/associated-types/issue-19129-2.rs
blob: 15e73bfc53236bbbad9ca7ebe29f884f0f52af9d (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
#![allow(unused_variables)]

trait Trait<Input> {
    type Output;

    fn method(&self, i: Input) -> bool { false }
}

fn main() {}