]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0069.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / error-codes / E0069.rs
1 fn foo() -> u8 {
2     return;
3     //~^ ERROR `return;` in a function whose return type is not `()`
4 }
5
6 fn main() {
7 }