diff options
| author | The 8472 <git@infinite-source.de> | 2023-11-04 12:09:27 +0100 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2023-11-04 16:11:01 +0100 |
| commit | 78aa5e511c0b205a742edffd48533670579ec247 (patch) | |
| tree | fb7d709a6bcac7044c20b023d8454dfa1f48912d /compiler/rustc_parse/src/errors.rs | |
| parent | 8d8f06b277a12e19189d6b08dbd9893db3283e9d (diff) | |
| download | rust-78aa5e511c0b205a742edffd48533670579ec247.tar.gz rust-78aa5e511c0b205a742edffd48533670579ec247.zip | |
detect EOF earlier
The initial probe-for-empty-source by stack_buffer_copy only detected EOF if the source was empty but not when it was merely small which lead to additional calls to read() after Ok(0) had already been returned in the stack copy routine
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
