Rust errors / Names, paths and imports
Rust compiler error · checked with rustc 1.99.0
Rust error E0725: A feature attribute named a feature that was disallowed in the compiler command line flags
What it meansA feature attribute named a feature that was disallowed in the compiler command line flags.
The compiler team's explanation
A feature attribute named a feature that was disallowed in the compiler command line flags.
Erroneous code example:
#![feature(never_type)] // error: the feature `never_type` is not in
// the list of allowed features
Delete the offending feature attribute, or add it to the list of allowed features in the -Z allow_features flag.
From rustc --explain E0725 (1.99.0), part of the Rust project, MIT or Apache-2.0. Official page.
Related errors
- E0425cannot find value in this scope
- E0603is private
- E0432unresolved import
- E0005refutable pattern in local binding
- E0710unknown tool name `clipp` found in scoped lint: `clipp::filter_map`
- E0711feature `foo` is declared stable since 1.29.0, but was previously declared stable since 1.0.0
- E0742visibilities can only be restricted to ancestor modules
- E0754trying to load file for module `řųśť` with non-ascii identifier name
Up next
Often hit nextE0425: cannot find value in this scopeA related error from the same family.Read it next →Did this answer your question?