rust/tests/ui/manual_hash_one.stderr

57 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-09-23 12:34:05 -05:00
error: manual implementation of `BuildHasher::hash_one`
2024-02-17 06:16:29 -06:00
--> tests/ui/manual_hash_one.rs:9:5
2023-09-23 12:34:05 -05:00
|
LL | hasher.finish()
| ^^^^^^^^^^^^^^^
|
= note: `-D clippy::manual-hash-one` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_hash_one)]`
help: try
|
LL ~
LL ~
LL ~ b.hash_one(&true)
|
error: manual implementation of `BuildHasher::hash_one`
2024-02-17 06:16:29 -06:00
--> tests/ui/manual_hash_one.rs:15:13
2023-09-23 12:34:05 -05:00
|
LL | let _ = hasher.finish();
| ^^^^^^^^^^^^^^^
|
help: try
|
LL ~
LL ~
LL ~ let _ = b.hash_one(&s[4..10]);
|
error: manual implementation of `BuildHasher::hash_one`
2024-02-17 06:16:29 -06:00
--> tests/ui/manual_hash_one.rs:21:13
2023-09-23 12:34:05 -05:00
|
LL | let _ = hasher.finish();
| ^^^^^^^^^^^^^^^
|
help: try
|
LL ~
LL ~
LL ~ let _ = b.hash_one(&v);
|
error: manual implementation of `BuildHasher::hash_one`
2024-02-17 06:16:29 -06:00
--> tests/ui/manual_hash_one.rs:88:13
2023-09-23 12:34:05 -05:00
|
LL | let _ = hasher.finish();
| ^^^^^^^^^^^^^^^
|
help: try
|
LL ~
LL ~
LL ~ let _ = b.hash_one(&v);
|
error: aborting due to 4 previous errors