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>2019-11-04 09:00:39 +0000
committerbors <bors@rust-lang.org>2019-11-04 09:00:39 +0000
commitab6e47851b51a413db5d721f25d714653e7549fd (patch)
tree31b2ec020f7c4c139561fdb05b6357574f91d5f7 /src/libstd/sys/unix/stack_overflow.rs
parentcba93685377bc74a2fde1eb8e7a086039b038e94 (diff)
parentc68df7c503676a1f63c0fcc2a7f10597fb93c375 (diff)
downloadrust-ab6e47851b51a413db5d721f25d714653e7549fd.tar.gz
rust-ab6e47851b51a413db5d721f25d714653e7549fd.zip
Auto merge of #65835 - Mark-Simulacrum:lockless-lintbuffer, r=nikomatsakis
Remove LintBuffer from Session

This moves the `LintBuffer` from `Session` into the `Resolver`, where it is used until lowering is done and then consumed by early lint passes. This also happily removes the failure mode of buffering lints too late where it would have previously lead to ICEs; it is statically no longer possible to do so.

I suspect that with a bit more work a similar move could be done for the lint buffer inside `ParseSess`, but this PR doesn't touch it (in part to keep itself small).

The last commit is the "interesting" commit -- the ones before it don't work (though they compile) as they sort of prepare the various crates for the lint buffer to be passed in rather than accessed through Session.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions