diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-04-02 14:27:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-02 14:27:54 +0200 |
| commit | 03591e8a7842896975985614221a152b28238bb8 (patch) | |
| tree | f6fa505cc4918e1fa231700309287ef1a66ef07e /src/test/codegen/src-hash-algorithm | |
| parent | cb81b41c9a474d403bd35fd2898ad226bc02657c (diff) | |
| parent | af1146bd23634d34d953255114b1235e131f2c80 (diff) | |
| download | rust-03591e8a7842896975985614221a152b28238bb8.tar.gz rust-03591e8a7842896975985614221a152b28238bb8.zip | |
Rollup merge of #70421 - Centril:recover-const-async-fn-ptr, r=estebank
parse: recover on `const fn()` / `async fn()` Recover on `const fn()` and `async fn()` function pointers, suggesting to remove the qualifier. For example: ``` error: an `fn` pointer type cannot be `async` --> $DIR/recover-const-async-fn-ptr.rs:6:11 | LL | type T3 = async fn(); | -----^^^^^ | | | `async` because of this | help: remove the `async` qualifier ``` r? @estebank
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
