Better error message in ed 2015
This commit is contained in:
parent
cd2fd34ca6
commit
54db272cc9
6 changed files with 76 additions and 24 deletions
|
@ -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() {}
|
Loading…
Add table
Add a link
Reference in a new issue