]> git.lizzy.rs Git - rust.git/commit
Explain reason behind error span
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 27 Jun 2018 01:54:59 +0000 (18:54 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 4 Jul 2018 21:36:07 +0000 (14:36 -0700)
commit647ba29b90155e07cf569060d344242b3ee474eb
treefa5e66ee8d9257824a2f5faf1cfe5b987d289c8f
parentd36302da53d398e35d8eacc8cef1c43d1d95359c
Explain reason behind error span

We can't expand the span of the error reliably according to @oli-obk, so
just mention why it points to this particular expression.
src/librustc/mir/interpret/error.rs
src/test/ui/const-eval/infinite_loop.stderr