How do I position a donut onto a cube with the corner hanging in between the donut hole?
Select the cube, enter edit mode and select a vertex on the corner.

Then perss Shift+S to activate the snap function and select "snap cursor to selected" (the 3d cursor will move to the selected vertex).

Exit edit mode

Select the torus object and do "snap selected to cursor".