about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-10-27 21:59:09 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-11-02 21:05:09 +0100
commit5f73eac51bebc2c2a9768a84e029cbd719cdb6dc (patch)
tree444edd9e2c2e489c6bf57b656253fa076f39c77a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent39584b153b5f0b86a7efda9bba0a7d2cbe9b56e2 (diff)
downloadrust-5f73eac51bebc2c2a9768a84e029cbd719cdb6dc.tar.gz
rust-5f73eac51bebc2c2a9768a84e029cbd719cdb6dc.zip
Retry matching with tracking for diagnostics
For now, we only collect the small info for the `best_failure`, but
using this tracker, we can easily extend it in the future to track
things with more performance overhead.

We cannot retry cases where the macro failed with a parser error that
was emitted already, as that would cause us to emit the same error to
the user twice.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions