How to snap edges to some other edges?
I figured out a way to do it (Not sure if it's the best way).

Having all of the faces of the part selected,


but making sure the snap tool is set to vertex snap mode (NOT face snap):



and pressing G and moving the part to the appropriate position, will work: