Better rustc_on_unimplemented, and UI test fixes

This commit is contained in:
Scott McMurray
2021-04-17 11:56:07 -07:00
parent 47b99485a3
commit 4a7ceea930
38 changed files with 564 additions and 266 deletions

View File

@@ -8,8 +8,8 @@ fn make_unit() -> Result<(), Error> {
fn main() {
let fut = async {
make_unit()?; //~ ERROR type annotations needed
make_unit()?;
Ok(())
Ok(()) //~ ERROR type annotations needed
};
}