1 error: manual implementation of an assign operation
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
15 = note: `-D string-add` implied by `-D warnings`
17 error: you added something to a string. Consider using `String::push_str()` instead
20 14 | let z = y + "...";
23 = note: `-D string-add` implied by `-D warnings`
25 error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
31 = note: `-D string-add-assign` implied by `-D warnings`
33 error: manual implementation of an assign operation
37 | ^^^^^^^^^^^ help: replace it with `x += "."`
39 = note: `-D assign-op-pattern` implied by `-D warnings`
41 error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
47 = note: `-D string-add-assign` implied by `-D warnings`
49 error: manual implementation of an assign operation
53 | ^^^^^^^^^^^ help: replace it with `x += "."`
55 = note: `-D assign-op-pattern` implied by `-D warnings`
57 error: you added something to a string. Consider using `String::push_str()` instead
60 42 | let z = y + "...";
63 = note: `-D string-add` implied by `-D warnings`
65 error: calling `as_bytes()` on a string literal
68 50 | let bs = "hello there".as_bytes();
69 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead `b"hello there"`
71 = note: `-D string-lit-as-bytes` implied by `-D warnings`
73 error: manual implementation of an assign operation
77 | ^^^^^^^^^ help: replace it with `x += 1`
79 = note: `-D assign-op-pattern` implied by `-D warnings`
81 error: aborting due to previous error(s)
83 error: Could not compile `clippy_tests`.
85 To learn more, run the command again with --verbose.