about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorChris Emerson <github@mail.nosreme.org>2019-11-12 02:55:04 +0000
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2022-01-02 10:06:06 -0600
commit34263cd6bdb29df23258a96ea18fe986efe8dad0 (patch)
treefce6b7e54f8e332c5d63bc5716a6ee1720f80fe6 /src/test/codegen/src-hash-algorithm
parent93b7de5b0110a1ab79714c3dfd009a4aae3e34b1 (diff)
downloadrust-34263cd6bdb29df23258a96ea18fe986efe8dad0.tar.gz
rust-34263cd6bdb29df23258a96ea18fe986efe8dad0.zip
Fix --check -l with stdin. (#3910)
* Fix some possible panics when using `--check` with stdin.

One case which doesn't work is when there are only line ending fixes;
with stdin rustfmt is unable to detect the difference as it stores
the input with Unix line endings.

* Add test for `rustfmt --check -l` with stdin.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions