1 error: manual implementation of an assign operation
2 --> $DIR/strings.rs:10:9
5 | ^^^^^^^^^^^ help: replace it with: `x += "."`
7 = note: `-D 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:10:13
15 = note: `-D string-add` implied by `-D warnings`
17 error: you added something to a string. Consider using `String::push_str()` instead
18 --> $DIR/strings.rs:14:13
20 14 | 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:24:9
29 = note: `-D string-add-assign` implied by `-D warnings`
31 error: manual implementation of an assign operation
32 --> $DIR/strings.rs:24: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:38:9
43 error: manual implementation of an assign operation
44 --> $DIR/strings.rs:38: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:42:13
52 42 | let z = y + "...";
55 error: calling `as_bytes()` on a string literal
56 --> $DIR/strings.rs:50:14
58 50 | let bs = "hello there".as_bytes();
59 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"hello there"`
61 = note: `-D string-lit-as-bytes` implied by `-D warnings`
63 error: calling `as_bytes()` on a string literal
64 --> $DIR/strings.rs:55:18
66 55 | let strify = stringify!(foobar).as_bytes();
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `bstringify!(foobar)`
69 error: manual implementation of an assign operation
70 --> $DIR/strings.rs:65:7
73 | ^^^^^^^^^ help: replace it with: `x += 1`
75 error: aborting due to 11 previous errors