W3cubDocs

/Rust

Error code E0800

A type or const parameter of the given name is not in scope.

Erroneous code examples:

#![allow(unused)]
fn main() {
fn missing() -> impl Sized + use<T> {}
}

To fix this error, please verify you didn't misspell the type or const parameter, or double-check if you forgot to declare the parameter in the list of generics.

© 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/E0800.html