nu_experimental/options/
enforce_runtime_annotations.rs1use crate::*;
2
3pub static ENFORCE_RUNTIME_ANNOTATIONS: ExperimentalOption =
7 ExperimentalOption::new(&EnforceRuntimeAnnotations);
8
9struct EnforceRuntimeAnnotations;
10
11impl ExperimentalOptionMarker for EnforceRuntimeAnnotations {
12 const IDENTIFIER: &'static str = "enforce-runtime-annotations";
13 const DESCRIPTION: &'static str = "\
14 Enforce type checking of let assignments at runtime such that \
15 invalid type conversion errors propagate the same way they would for predefined values.";
16 const STATUS: Status = Status::OptIn;
17 const SINCE: Version = (0, 107, 1);
18 const ISSUE: u32 = 16832;
19}