about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-10 11:10:17 +0200
committerGitHub <noreply@github.com>2025-04-10 11:10:17 +0200
commite8994abe52f869cc16e2c86531aff8a94823442a (patch)
tree36468e8b0a78623e8f1862a7c1c727f5cf85b37e /compiler/rustc_interface/src/errors.rs
parent12172ebf701e90102be5845ce3152f2e33536141 (diff)
parentf151ceadfe19a4c12c1381468cc8c516f3be9f39 (diff)
downloadrust-e8994abe52f869cc16e2c86531aff8a94823442a.tar.gz
rust-e8994abe52f869cc16e2c86531aff8a94823442a.zip
Rollup merge of #139563 - EnzymeAD:better-autodiff-err, r=jieyouxu
emit a better error message for using the macro incorrectly

fixing: https://github.com/EnzymeAD/rust/issues/185
I feel like it's not a perfect message either, so I'm open to suggestions.
But at the end of the day users will need to read the docs anyway, and emitting
multi-line errors each time this gets triggered can probably become annoying?

r? ``@jieyouxu`` since you've reviewed my frontend work back in the days.

Tracking:

- https://github.com/rust-lang/rust/issues/124509
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions