]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0446.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / ui / error-codes / E0446.rs
1 mod foo {
2     struct Bar(u32);
3
4     pub fn bar() -> Bar { //~ ERROR E0446
5         Bar(0)
6     }
7 }
8
9 fn main() {}