summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_error_codes/src/error_codes/E0766.md
blob: 4e775df2cac4d14fa5be6e44f31fa49c98261344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
A double quote byte string (`b"`) was not terminated.

Erroneous code example:

```compile_fail,E0766
let s = b"; // error!
```

To fix this error, add the missing double quote at the end of the string:

```
let s = b""; // ok!
```