Closed
Description
Discovered while working on #58824.
Notice that travis passed for x86_64-gnu-llvm-6.0
, but failed for mingw-check
. It shouldn't pass -- there's a parse error. The build passes locally for me using ./x.py test --bless src/test/rustdoc-ui
but ./build/x86_64-unknown-linux-gnu/stage2/bin/rustc -Z parse-only src/librustdoc/passes/collect_intra_doc_links.rs
fails. I wonder if this is a bug in rustbuild or cargo?
No success in minimizing this, but I am able to consistently reproduce it.