|
1 |
| -error: usage of `Arc<T>` when T is a buffer type |
2 |
| - --> tests/ui/rc_buffer_arc.rs:10:11 |
| 1 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 2 | + --> tests/ui/rc_buffer_arc.rs:9:11 |
3 | 3 | |
|
4 | 4 | LL | bad1: Arc<String>,
|
5 | 5 | | ^^^^^^^^^^^ help: try: `Arc<str>`
|
6 | 6 | |
|
7 | 7 | = note: `-D clippy::rc-buffer` implied by `-D warnings`
|
8 | 8 | = help: to override `-D warnings` add `#[allow(clippy::rc_buffer)]`
|
9 | 9 |
|
10 |
| -error: usage of `Arc<T>` when T is a buffer type |
11 |
| - --> tests/ui/rc_buffer_arc.rs:12:11 |
| 10 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 11 | + --> tests/ui/rc_buffer_arc.rs:11:11 |
12 | 12 | |
|
13 | 13 | LL | bad2: Arc<PathBuf>,
|
14 | 14 | | ^^^^^^^^^^^^ help: try: `Arc<std::path::Path>`
|
15 | 15 |
|
16 |
| -error: usage of `Arc<T>` when T is a buffer type |
17 |
| - --> tests/ui/rc_buffer_arc.rs:14:11 |
| 16 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 17 | + --> tests/ui/rc_buffer_arc.rs:13:11 |
18 | 18 | |
|
19 | 19 | LL | bad3: Arc<Vec<u8>>,
|
20 | 20 | | ^^^^^^^^^^^^ help: try: `Arc<[u8]>`
|
21 | 21 |
|
22 |
| -error: usage of `Arc<T>` when T is a buffer type |
23 |
| - --> tests/ui/rc_buffer_arc.rs:16:11 |
| 22 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 23 | + --> tests/ui/rc_buffer_arc.rs:15:11 |
24 | 24 | |
|
25 | 25 | LL | bad4: Arc<OsString>,
|
26 | 26 | | ^^^^^^^^^^^^^ help: try: `Arc<std::ffi::OsStr>`
|
27 | 27 |
|
28 |
| -error: usage of `Arc<T>` when T is a buffer type |
29 |
| - --> tests/ui/rc_buffer_arc.rs:23:17 |
| 28 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 29 | + --> tests/ui/rc_buffer_arc.rs:22:17 |
30 | 30 | |
|
31 | 31 | LL | fn func_bad1(_: Arc<String>) {}
|
32 | 32 | | ^^^^^^^^^^^ help: try: `Arc<str>`
|
33 | 33 |
|
34 |
| -error: usage of `Arc<T>` when T is a buffer type |
35 |
| - --> tests/ui/rc_buffer_arc.rs:25:17 |
| 34 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 35 | + --> tests/ui/rc_buffer_arc.rs:24:17 |
36 | 36 | |
|
37 | 37 | LL | fn func_bad2(_: Arc<PathBuf>) {}
|
38 | 38 | | ^^^^^^^^^^^^ help: try: `Arc<std::path::Path>`
|
39 | 39 |
|
40 |
| -error: usage of `Arc<T>` when T is a buffer type |
41 |
| - --> tests/ui/rc_buffer_arc.rs:27:17 |
| 40 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 41 | + --> tests/ui/rc_buffer_arc.rs:26:17 |
42 | 42 | |
|
43 | 43 | LL | fn func_bad3(_: Arc<Vec<u8>>) {}
|
44 | 44 | | ^^^^^^^^^^^^ help: try: `Arc<[u8]>`
|
45 | 45 |
|
46 |
| -error: usage of `Arc<T>` when T is a buffer type |
47 |
| - --> tests/ui/rc_buffer_arc.rs:29:17 |
| 46 | +error: usage of `Arc<T>` when `T` is a buffer type |
| 47 | + --> tests/ui/rc_buffer_arc.rs:28:17 |
48 | 48 | |
|
49 | 49 | LL | fn func_bad4(_: Arc<OsString>) {}
|
50 | 50 | | ^^^^^^^^^^^^^ help: try: `Arc<std::ffi::OsStr>`
|
|
0 commit comments