about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-06-17 11:35:26 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-06-17 19:34:47 +0300
commitccb2dfbfec812d1502626992a8856df27c4fa950 (patch)
tree42a95f16caa5f4b40e32e5ce672ddf85d383fece /src/test/incremental/thinlto
parent70456a6cbd67c0547d22997007afaaed0819767e (diff)
downloadrust-ccb2dfbfec812d1502626992a8856df27c4fa950.tar.gz
rust-ccb2dfbfec812d1502626992a8856df27c4fa950.zip
don't ICE on large files
This is an extremely marginal error, so the cost of properly threading
`Handler` everywhere just not seemed justified. However, it's useful
to panic when we create a file, and not when we slice strings with
overflown indexes somewhere in the guts of the compiler.

For this reason, while we provide safe `try_new_source_file`, we don't
change the existing public interface and just panic more or less
cleanly.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions