Skip to content

Commit c1412c2

Browse files
committed
Fix rustc_target tests
1 parent 97a17e0 commit c1412c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/tests/tests_impl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Target {
3737
&self.late_link_args_static,
3838
&self.post_link_args,
3939
] {
40-
for (&flavor, flavor_args) in args {
40+
for (&flavor, flavor_args) in &**args {
4141
assert!(!flavor_args.is_empty());
4242
// Check that flavors mentioned in link args are compatible with the default flavor.
4343
match self.linker_flavor {

0 commit comments

Comments
 (0)