You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LL | let bs = r###"raw string with three ### in it and some " ""###.as_bytes();
13
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `br###"raw string with three ### in it and some " ""###`
12
+
LL | let bs = r###"raw string with 3# plus " ""###.as_bytes();
13
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `br###"raw string with 3# plus " ""###`
14
14
15
15
error: calling `as_bytes()` on `include_str!(..)`
16
-
--> $DIR/string_lit_as_bytes.rs:16:22
16
+
--> $DIR/string_lit_as_bytes.rs:17:22
17
17
|
18
18
LL | let includestr = include_str!("entry.rs").as_bytes();
19
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("entry.rs")`
0 commit comments