W3cubDocs

/Rust

Error code E0763

A byte constant wasn't correctly ended.

Erroneous code example:

#![allow(unused)]
fn main() {
let c = b'a; // error!
}

To fix this error, add the missing quote:

#![allow(unused)]
fn main() {
let c = b'a'; // ok!
}

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0763.html