If late lifetime resolution fails for whatever reason, forward to RBV the guarantee that an error was emitted - thereby eliminating the need for a "hack" to suppress subsequent/superfluous error diagnostics.
8 lines
205 B
Rust
8 lines
205 B
Rust
reuse a as b {
|
|
//~^ ERROR cannot find function `a` in this scope
|
|
//~| ERROR functions delegation is not yet fully implemented
|
|
dbg!(b);
|
|
//~^ ERROR missing lifetime specifier
|
|
}
|
|
|
|
fn main() {}
|