mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
427aceb9d4
Sometimes, we want to create subspans and point at code in the literal if possible. But this doesn't always make sense, sometimes the literal may come from macro expanded code and isn't actually there in the source. Then, we can't really make these suggestions. This now makes sure that the literal is actually there as we see it so that we will not run into ICEs on weird literal transformations. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |