(name: &str)
| 1353 | } |
| 1354 | |
| 1355 | fn is_known_future_feature(name: &str) -> bool { |
| 1356 | matches!( |
| 1357 | name, |
| 1358 | "nested_scopes" |
| 1359 | | "generators" |
| 1360 | | "division" |
| 1361 | | "absolute_import" |
| 1362 | | "with_statement" |
| 1363 | | "print_function" |
| 1364 | | "unicode_literals" |
| 1365 | | "barry_as_FLUFL" |
| 1366 | | "generator_stop" |
| 1367 | | "annotations" |
| 1368 | ) |
| 1369 | } |
| 1370 | |
| 1371 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, get_size2::GetSize)] |
| 1372 | pub enum LazyImportKind { |