about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-13 18:42:49 +0000
committerbors <bors@rust-lang.org>2015-07-13 18:42:49 +0000
commit680053848928a94f933c5a453c031b458e9766e0 (patch)
tree48c7db7af180be9656a845938e744e3c10d7dc9b /src/libstd/sys/unix/stack_overflow.rs
parent0fbcebaaec518a0a39f0b835cd52e9edfaba9cc2 (diff)
parent4630fc75a7a9f61d53153452e5f3c13a8d7e3233 (diff)
downloadrust-680053848928a94f933c5a453c031b458e9766e0.tar.gz
rust-680053848928a94f933c5a453c031b458e9766e0.zip
Auto merge of #26984 - nham:errorck-ignore-long-diag, r=brson
Currently errorck yields bogus `duplicate error code` messages when an error code occurs inside of a long diagnostic message (see https://github.com/rust-lang/rust/pull/26982), because errorck just goes line by line checking for error codes and recording them all.

A simplistic approach to fixing this is just to detect the beginning of a long diagnostic raw string literal (`r##"`) and skip lines until the end of the raw string literal is encountered. I'm not completely confident in this approach, but I think a more robust approach would be more complicated and I wanted to get feedback before pursuing that.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions