1 error: manual implementation of an assign operation
2 --> $DIR/strings.rs:17:9
5 | ^^^^^^^^^^^ help: replace it with: `x += "."`
7 = note: `-D clippy::assign-op-pattern` implied by `-D warnings`
9 error: you added something to a string. Consider using `String::push_str()` instead
10 --> $DIR/strings.rs:17:13
15 = note: `-D clippy::string-add` implied by `-D warnings`
17 error: you added something to a string. Consider using `String::push_str()` instead
18 --> $DIR/strings.rs:21:13
20 21 | let z = y + "...";
23 error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
24 --> $DIR/strings.rs:31:9
29 = note: `-D clippy::string-add-assign` implied by `-D warnings`
31 error: manual implementation of an assign operation
32 --> $DIR/strings.rs:31:9
35 | ^^^^^^^^^^^ help: replace it with: `x += "."`
37 error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
38 --> $DIR/strings.rs:45:9
43 error: manual implementation of an assign operation
44 --> $DIR/strings.rs:45:9
47 | ^^^^^^^^^^^ help: replace it with: `x += "."`
49 error: you added something to a string. Consider using `String::push_str()` instead
50 --> $DIR/strings.rs:49:13
52 49 | let z = y + "...";
55 error: calling `as_bytes()` on a string literal
56 --> $DIR/strings.rs:57:14
58 57 | let bs = "hello there".as_bytes();
59 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"hello there"`
61 = note: `-D clippy::string-lit-as-bytes` implied by `-D warnings`
63 error: calling `as_bytes()` on a string literal
64 --> $DIR/strings.rs:59:14
66 59 | let bs = r###"raw string with three ### in it and some " ""###.as_bytes();
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `br###"raw string with three ### in it and some " ""###`
69 error: calling `as_bytes()` on `include_str!(..)`
70 --> $DIR/strings.rs:66:22
72 66 | let includestr = include_str!("entry.rs").as_bytes();
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("entry.rs")`
75 error: aborting due to 11 previous errors