about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2021-10-14 15:40:57 +0100
committerAlex Macleod <alex@macleod.io>2021-10-14 16:20:11 +0100
commita6eeb75120876e968f7d5adabbc7fcd6cc000c98 (patch)
treedc5b16a49b99278f4891b5029ccedd95ca9aceb8 /src/test/codegen
parenta30941e2a553156ef891fa38d6241535eac3ce6f (diff)
downloadrust-a6eeb75120876e968f7d5adabbc7fcd6cc000c98.tar.gz
rust-a6eeb75120876e968f7d5adabbc7fcd6cc000c98.zip
Use workspace cargo to fetch rust source's metadata
Previously the detected cargo is the global one, as it uses the
directory of the rust source which doesn't pick up the local override

This fixes the case in clippy where the local rust toolchain is a recent
nightly that has a 2021 edition Cargo.toml. The global (stable) cargo
returns an error attempting to parse it

Fixes #10445
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions