73pub struct CollectedFeatures {
74 pub lib: Features,
75▶ pub lang: Features,
76}
77
· · ·
124 for (i, line) in contents.lines().enumerate() {
125 let mut err = |msg: &str| {
126▶ check.error(format!("{}:{}: {}", file.display(), i + 1, msg));
127 };
128
· · ·
178
179 if !gate_untested.is_empty() {
180▶ check.error(format!("Found {} features without a gate test.", gate_untested.len()));
181 }
182
· · ·
192 let line = feature.line;
193 if since > version && since != Version::CurrentPlaceholder {
194▶ check.error(format!(
195 "{file}:{line}: The stabilization version {since} of {kind} feature `{feature_name}` is newer than the current {version}"
196 ));
· · ·
197 }
198 if channel == "nightly" && since == version {
199▶ check.error(format!(
200 "{file}:{line}: The stabilization version {since} of {kind} feature `{feature_name}` is written out but should be {}",
201 version::VERSION_PLACEHOLDER
+ 11 more matches in this file