compiletest: run-rustfix
and revisions
have broken interactions
#123596
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
compiletest currently accepts both
run-rustfix
andrevision
directives://@ run-rustfix
, and//@ revisions: r1 ... rn
However,
run-rustfix
does not correctly account for revisions, because revisions + run-rustfix together tries to create a new crate named after each revision<test-name>.<revisions>
, which is not a valid Rust crate name because of the.
.Example UI test where the author had to workaround it by explicitly setting
#![crate_name]
:rust/tests/ui/object-safety/bare-trait-dont-suggest-dyn.new.fixed
Line 5 in 4e431fa
The text was updated successfully, but these errors were encountered: