[red-knot] Use Unknown rather than Unbound for unresolved imports (#12932)

This commit is contained in:
Alex Waygood 2024-08-16 20:10:33 +01:00 committed by GitHub
parent d61d75d4fa
commit a9847af6e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 44 additions and 11 deletions

View file

@ -89,7 +89,7 @@ fn benchmark_incremental(criterion: &mut Criterion) {
let Case { db, parser, .. } = case;
let result = db.check_file(*parser).unwrap();
assert_eq!(result.len(), 29);
assert_eq!(result.len(), 34);
},
BatchSize::SmallInput,
);
@ -104,7 +104,7 @@ fn benchmark_cold(criterion: &mut Criterion) {
let Case { db, parser, .. } = case;
let result = db.check_file(*parser).unwrap();
assert_eq!(result.len(), 29);
assert_eq!(result.len(), 34);
},
BatchSize::SmallInput,
);