Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 300 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
#![allow(unused_variables)]
struct Index;
impl Index {
fn new() -> Self { Index }
}
fn user() {
let new = Index::new;
fn inner() {
let index = Index::new();
}
let index2 = new();
}
fn main() {}
You can’t perform that action at this time.