diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-13 17:09:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-13 17:09:47 +0800 |
| commit | 8c9d500b19742f60a3ce3d6b60bfade7ba17a886 (patch) | |
| tree | 7fc790990f9290ca3a147073d960d669fe96e057 /src/rustllvm/RustWrapper.cpp | |
| parent | 3604737b95ec465a2b0257c13aa79a6e1486511f (diff) | |
| parent | 5cc488d2500999ef4b934c90f155022b25dcdd19 (diff) | |
| download | rust-8c9d500b19742f60a3ce3d6b60bfade7ba17a886.tar.gz rust-8c9d500b19742f60a3ce3d6b60bfade7ba17a886.zip | |
Rollup merge of #45952 - zackmdavis:singular_projection, r=estebank
deduplicate projection error (E0271) messages
The `ErrorId` variant takes a u16 so that `DiagnosticMessageId` can retain
its `Copy` status (the present author's first choice having been the "EXXX"
code as a string).
The duplicated "type mismatch resolving `{}`" literal is unfortunate, but
the `struct_span_err!` macro (which we want to mark that error code as
used) is fussy about taking a literal, and the one-time-diagnostics set
needs an owned string.
This is concerning #33941 and probably #45805!
r? @estebank
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
