diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2025-01-24 11:25:29 -0800 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2025-01-24 11:30:19 -0800 |
| commit | fff24d52ee84ad49b780443cdbfe9ca38bb85611 (patch) | |
| tree | 08b393da5353587afd6424562d21e4c05dd9fd06 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | 8063b1ec0407935432489d44b21111973044369c (diff) | |
| download | rust-fff24d52ee84ad49b780443cdbfe9ca38bb85611.tar.gz rust-fff24d52ee84ad49b780443cdbfe9ca38bb85611.zip | |
minor: Suggest better names when a type is a sequence
Previously, we'd suggest a type of `vec` for a value of type `Vec<T>`, which is rarely what the user wants. We also had no suggestions for values of type `&[T]`. Instead, try to pluralise the inner type name, and fall back to `items`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
