Files
rust/tests/ui/unbuffered_bytes.stderr

37 lines
1006 B
Plaintext
Raw Normal View History

2025-01-27 21:50:22 +01:00
error: calling .bytes() is very inefficient when data is not in memory
--> tests/ui/unbuffered_bytes.rs:10:5
|
LL | file.bytes();
| ^^^^^^^^^^^^
|
= help: consider using `BufReader`
= note: `-D clippy::unbuffered-bytes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unbuffered_bytes)]`
error: calling .bytes() is very inefficient when data is not in memory
2025-02-12 23:44:38 +01:00
--> tests/ui/unbuffered_bytes.rs:15:5
2025-01-27 21:50:22 +01:00
|
LL | tcp_stream.bytes();
| ^^^^^^^^^^^^^^^^^^
|
= help: consider using `BufReader`
error: calling .bytes() is very inefficient when data is not in memory
2025-02-12 23:44:38 +01:00
--> tests/ui/unbuffered_bytes.rs:28:5
2025-01-27 21:50:22 +01:00
|
LL | s.bytes();
| ^^^^^^^^^
|
= help: consider using `BufReader`
error: calling .bytes() is very inefficient when data is not in memory
2025-02-12 23:44:38 +01:00
--> tests/ui/unbuffered_bytes.rs:39:5
2025-01-27 21:50:22 +01:00
|
LL | r.bytes();
| ^^^^^^^^^
|
= help: consider using `BufReader`
error: aborting due to 4 previous errors