]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0766.md
Rollup merge of #92310 - ehuss:rustdoc-ice, r=estebank
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0766.md
1 A double quote byte string (`b"`) was not terminated.
2
3 Erroneous code example:
4
5 ```compile_fail,E0766
6 let s = b"; // error!
7 ```
8
9 To fix this error, add the missing double quote at the end of the string:
10
11 ```
12 let s = b""; // ok!
13 ```