Function version_check::is_feature_flaggable[][src]

pub fn is_feature_flaggable() -> Option<bool>

Checks whether the running or installed rustc supports feature flags.

In other words, if the channel is either “nightly” or “dev”.

If the version could not be determined, returns None. Otherwise returns true if the running version supports feature flags and false otherwise.