about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-17 20:56:01 +0200
committerGitHub <noreply@github.com>2019-06-17 20:56:01 +0200
commit6fe265315626be4f5c3116217dfebd4435fbc14e (patch)
tree357994a3b563d23320b0ead83a5c1560ba042f60 /src/test/incremental/thinlto
parent04d653902569b398e584692f45a2996f7437d5af (diff)
parentccb2dfbfec812d1502626992a8856df27c4fa950 (diff)
downloadrust-6fe265315626be4f5c3116217dfebd4435fbc14e.tar.gz
rust-6fe265315626be4f5c3116217dfebd4435fbc14e.zip
Rollup merge of #61908 - matklad:overflow, r=petrochenkov
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.

closes #61904

r? @petrochenkov
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions