Put 'duplicate import' error on the right line