Constant rustc::ty::codec::SHORTHAND_OFFSET [] [src]

pub const SHORTHAND_OFFSET: usize = 128
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

The shorthand encoding uses an enum's variant index usize and is offset by this value so it never matches a real variant. This offset is also chosen so that the first byte is never < 0x80.