I'v fixed issue https://github.com/rust-analyzer/rust-analyzer/issues/1620 (hopefully), but I am not sure where to add tests. I'v tried to add them to ra_ide_api, but this doesn't seems to work, becouse at this moment comments already processed. Is there a better place for this?
ra_ide_api should be the right place I think. Could you file a PR for disucssion?