1
Fork 0

Better error message in ed 2015

This commit is contained in:
Michael Goulet 2024-01-26 17:15:43 +00:00
parent cd2fd34ca6
commit 54db272cc9
6 changed files with 76 additions and 24 deletions

View file

@ -0,0 +1,10 @@
// check-pass
// Make sure that we don't eagerly recover `async ::Bound` in edition 2015.
mod async {
pub trait Foo {}
}
fn test(x: impl async ::Foo) {}
fn main() {}