diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-23 00:32:18 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-23 00:32:18 +0530 |
| commit | df8b0dfc277e302882d5052e20b7eb7b725d2bdf (patch) | |
| tree | 74c14e69f9c3cb06f5cf38fe36c2577382c5fb45 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 47fe1a3e1f625f0e15baeb742e476977de26e6f3 (diff) | |
| parent | 83930ecdea7eee3191316770071cc6e5019a8e3e (diff) | |
| download | rust-df8b0dfc277e302882d5052e20b7eb7b725d2bdf.tar.gz rust-df8b0dfc277e302882d5052e20b7eb7b725d2bdf.zip | |
Rollup merge of #111612 - ChayimFriedman2:collect-into-slice-ref, r=petrochenkov
Give better error when collecting into `&[T]`
The detection of slice reference of `{integral}` in `rustc_on_unimplemented` is hacky, but a proper solution requires changing `FmtPrinter` to add a parameter to print integers as `{integral}` and I didn't want to change it just for `rustc_on_unimplemented`. I can do that if requested, though.
I'm open to better wording; this is the best I could come up with.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
