Skip to content

Commit 5a38eb1

Browse files
committed
a consistency fix
Others in the file skip the module name
1 parent f437c86 commit 5a38eb1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/tools/compiletest/src/directives.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,9 @@ impl TestProps {
644644

645645
self.update_add_core_stubs(ln, config);
646646

647-
if let Some(flags) = config.parse_name_value_directive(
648-
ln,
649-
directives::CORE_STUBS_COMPILE_FLAGS,
650-
testfile,
651-
) {
647+
if let Some(flags) =
648+
config.parse_name_value_directive(ln, CORE_STUBS_COMPILE_FLAGS, testfile)
649+
{
652650
let flags = split_flags(&flags);
653651
for flag in &flags {
654652
if flag == "--edition" || flag.starts_with("--edition=") {

0 commit comments

Comments
 (0)