Running RA tests from within a rust-lang/rust checkout fails, because expect-test climbs all the way up to rust/Cargo.toml instead of being happy with rust/src/tools/rust-analyzer/Cargo.toml, and then the paths are all wrong.
See rust-lang/rust#99444 (comment) for real-world details.
Running RA tests from within a
rust-lang/rustcheckout fails, becauseexpect-testclimbs all the way up torust/Cargo.tomlinstead of being happy withrust/src/tools/rust-analyzer/Cargo.toml, and then the paths are all wrong.See rust-lang/rust#99444 (comment) for real-world details.