Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/11e0c7af-bd52-4add-8de0-98397c5d492e
Expected output
-Cannot use Ns\Foo2 as Foo because the name is already in use on line 6
+Cannot use Ns\Foo2 as Foo because the name is already in use on line 5