about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-16 10:28:46 +0000
committerGitHub <noreply@github.com>2021-10-16 10:28:46 +0000
commit3c468ab2fc2ad6df390e4d3faf5a2076265bb447 (patch)
treee250f0a08cea07343f286cd20c9c8cd80270bcab /src/test/codegen
parentc4e88e950ff0813e069d7bcdb2bc5e907874b64a (diff)
parenta6eeb75120876e968f7d5adabbc7fcd6cc000c98 (diff)
downloadrust-3c468ab2fc2ad6df390e4d3faf5a2076265bb447.tar.gz
rust-3c468ab2fc2ad6df390e4d3faf5a2076265bb447.zip
Merge #10542
10542: Use workspace cargo to fetch rust source's metadata r=lnicola a=Alexendoo

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

Co-authored-by: Alex Macleod <alex@macleod.io>
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions