[board] Clean up a bunch of build errors
Fix imports to refer to core and bitboard crates. Fix some API use errors.
This commit is contained in:
parent
3cec64d686
commit
6f85305912
17 changed files with 59 additions and 36 deletions
|
@ -3,8 +3,9 @@
|
|||
use super::{move_generator_declaration, MoveGeneratorInternal, MoveSet};
|
||||
use crate::{
|
||||
piece::{Color, Piece, PlacedPiece},
|
||||
BitBoard, MoveBuilder, Position,
|
||||
MoveBuilder, Position,
|
||||
};
|
||||
use chessfriend_bitboard::BitBoard;
|
||||
|
||||
move_generator_declaration!(KnightMoveGenerator);
|
||||
|
||||
|
@ -40,7 +41,8 @@ impl<'pos> MoveGeneratorInternal for KnightMoveGenerator<'pos> {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::{piece, position, Move, Square};
|
||||
use crate::{piece, position, Move};
|
||||
use chessfriend_core::Square;
|
||||
use std::collections::HashSet;
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue