about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-07-01 23:39:09 +0200
committerGitHub <noreply@github.com>2022-07-01 23:39:09 +0200
commitb0935b1ddf12f96546df32d805b7dd874459f4cb (patch)
treea65d54f984425280be478034cc92d7a53e75dc60 /compiler/rustc_codegen_llvm/src
parentbda659e873f25d8891c02c5a6fb7d07ecf1efe5f (diff)
parent6711313f76b712271b10080067ebd4e0034b6be8 (diff)
downloadrust-b0935b1ddf12f96546df32d805b7dd874459f4cb.tar.gz
rust-b0935b1ddf12f96546df32d805b7dd874459f4cb.zip
Rollup merge of #98497 - compiler-errors:span-inference-note, r=lcnr
Improve some inference diagnostics

- Properly point out point location where "type must be known at this point", or else omit the note if it's not associated with a useful span.
- Fix up some type ambiguity diagnostics, errors shouldn't say "cannot infer type for reference `&'a ()`" when the given type has no inference variables.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions