diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-02-14 16:54:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 16:54:47 +0100 |
| commit | a6809d00aed27db9ac99841d2bd34060a77d2708 (patch) | |
| tree | a94621efcee625e1699086d48da838f5060e9ba3 /compiler/rustc_codegen_llvm/src | |
| parent | 25315635ef50e57e70cc680a0f70926ec24ed0db (diff) | |
| parent | 1adc6be23f93c2a348cbf568fb89dc546319e199 (diff) | |
| download | rust-a6809d00aed27db9ac99841d2bd34060a77d2708.tar.gz rust-a6809d00aed27db9ac99841d2bd34060a77d2708.zip | |
Rollup merge of #81914 - kper:fixing-81885, r=estebank
Fixing bad suggestion for `_` in `const` type when a function #81885 Closes #81885 ``` error[E0121]: the type placeholder `_` is not allowed within types on item signatures --> $DIR/typeck_type_placeholder_item_help.rs:13:22 | LL | const TEST4: fn() -> _ = 42; | ^ | | | not allowed in type signatures | help: use type parameters instead: `T` ``` Do not show the suggestion `help: use type parameters instead: T` when `fn`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
