Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 336 Bytes
// run-pass
// Test view items inside non-file-level mods
// This is a regression test for an issue where we were failing to
// pretty-print such view items. If that happens again, this should
// begin failing.
// pretty-expanded FIXME #23616
mod m {
pub fn f() -> Vec<isize> { Vec::new() }
}
pub fn main() { let _x = m::f(); }
You can’t perform that action at this time.