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!
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
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!
}