A multi-line (doc-)comment is unterminated.
Erroneous code example:
#![allow(unused)]
fn main() {
/* I am not terminated!
} The same goes for doc comments:
#![allow(unused)]
fn main() {
/*! I am not terminated!
} You need to end your multi-line comment with */ in order to fix this error:
#![allow(unused)]
fn main() {
/* I am terminated! */
/*! I am also terminated! */
}
© 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/E0758.html