- Changes parser to allow application to inherent methods. - Adds tests to confirm extended functionality works just as the existing.
13 lines
302 B
Diff
13 lines
302 B
Diff
- // MIR for `caller` before ForceInline
|
|
+ // MIR for `caller` after ForceInline
|
|
|
|
fn caller() -> {async fn body of caller()} {
|
|
let mut _0: {async fn body of caller()};
|
|
|
|
bb0: {
|
|
_0 = {coroutine@$DIR/forced_inherent_async.rs:14:19: 18:2 (#0)};
|
|
return;
|
|
}
|
|
}
|
|
|