(name: &str)
| 1252 | } |
| 1253 | |
| 1254 | fn is_known_future_feature(name: &str) -> bool { |
| 1255 | matches!( |
| 1256 | name, |
| 1257 | "nested_scopes" |
| 1258 | | "generators" |
| 1259 | | "division" |
| 1260 | | "absolute_import" |
| 1261 | | "with_statement" |
| 1262 | | "print_function" |
| 1263 | | "unicode_literals" |
| 1264 | | "barry_as_FLUFL" |
| 1265 | | "generator_stop" |
| 1266 | | "annotations" |
| 1267 | ) |
| 1268 | } |
| 1269 | |
| 1270 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, get_size2::GetSize)] |
| 1271 | pub enum LazyImportKind { |