Open svenschmidt75 opened 5 years ago
Reproduction:
let xyz = meta;
(ie. this happens to any occurrence of a nonexistent local meta
)
Expected outcome would be error[E0425]: cannot find value `meta` in this scope
Not a bug. See https://github.com/rust-lang/rust/pull/54116. The crate meta
is reserved in the extern prelude in case we want to use it in the future for proc macros and so on.
Rust compiler:
rustup show Default host: x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu (default) rustc 1.35.0 (3c235d560 2019-05-20)
Project: https://github.com/svenschmidt75/Rust, commit 78b9a8fd4740bbf8630cc0ade48346a5387f2075, authored 6/2/2019 @ 8:58 AM
File model.rs, line 139,
Replace
eta
withmeta
and compile. The error refers to a missing crate which I found odd: