about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-02 14:27:54 +0200
committerGitHub <noreply@github.com>2020-04-02 14:27:54 +0200
commit03591e8a7842896975985614221a152b28238bb8 (patch)
treef6fa505cc4918e1fa231700309287ef1a66ef07e /src/test/codegen/src-hash-algorithm
parentcb81b41c9a474d403bd35fd2898ad226bc02657c (diff)
parentaf1146bd23634d34d953255114b1235e131f2c80 (diff)
downloadrust-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