mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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 |