diff options
| author | Ralf Jung <post@ralfj.de> | 2020-06-19 14:29:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-19 14:29:29 +0200 |
| commit | 45aa36bae5b3cfcd0c585d1ab680a27ac3e92315 (patch) | |
| tree | 3858ceef7257ad2a89a6dd5c7b2aff311f7e6ea5 /src/librustc_error_codes/error_codes | |
| parent | 1e31a7c1e7c7c060eaaca9cf2a52ad2baafdba91 (diff) | |
| parent | bad252c9faebf55565091f50bad784a0a3f1e756 (diff) | |
Rollup merge of #73280 - GuillaumeGomez:add-e0763, r=petrochenkov
Add E0763
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0763.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes/E0763.md b/src/librustc_error_codes/error_codes/E0763.md new file mode 100644 index 00000000000..095b779f3e7 --- /dev/null +++ b/src/librustc_error_codes/error_codes/E0763.md @@ -0,0 +1,13 @@ +A byte constant wasn't correctly ended. + +Erroneous code example: + +```compile_fail,E0763 +let c = b'a; // error! +``` + +To fix this error, add the missing quote: + +``` +let c = b'a'; // ok! +``` |
