about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-14 22:16:05 +0200
committerGitHub <noreply@github.com>2019-09-14 22:16:05 +0200
commitd29df01b0877bb56683a67d169091d0a854b0156 (patch)
tree5f0e93a69ad528bb7192d18656052c014f0f51f2 /src/libstd/sys/unix/stack_overflow.rs
parentdee08ba55accecc13ed600e0fb6559fb28e7f480 (diff)
parentb7f20d06ea40d13834bd04ad32d098d3626f11c7 (diff)
downloadrust-d29df01b0877bb56683a67d169091d0a854b0156.tar.gz
rust-d29df01b0877bb56683a67d169091d0a854b0156.zip
Rollup merge of #64290 - Mark-Simulacrum:span-no-main, r=estebank
Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves #36561.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions