Better rustc_on_unimplemented, and UI test fixes
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user