rust/tests/ui/error-codes/E0446.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
111 B
Rust
Raw Normal View History

mod foo {
2016-08-19 09:44:47 -05:00
struct Bar(u32);
pub fn bar() -> Bar { //~ ERROR E0446
Bar(0)
}
}
fn main() {}