blob: d2e056a57b218c22330a5a280882e8229ae27581 (
plain)
1
2
3
4
5
6
7
8
|
//@ check-pass
// Test that we are able to have an impl that defines an associated type
// before the actual trait.
impl X for f64 { type Y = isize; }
trait X { type Y; }
fn main() {}
|