blob: d656a25018923e43d2617074b88de19f7c5b9b08 [file]
//@ check-pass
#![feature(checked_type_aliases)]
#![allow(incomplete_features)]
type Alias = Local;
struct Local;
impl Alias {
fn method(self) {}
}
fn main() {
let _ = Local.method();
let _ = Local::method;
let _ = Alias {}.method();
let _ = Alias::method;
}