Skip to content

Commit e722344

Browse files
committed
Fix warnings on Windows
1 parent fd4f492 commit e722344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testsuite/registry.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3143,6 +3143,7 @@ fn unaccessible_registry_cache_still_works() {
31433143
// make sure we add the permissions to the files afterwards so "cargo clean" can remove them (#6934)
31443144
set_permissions(&f_cache_path, 0o777);
31453145

3146+
#[cfg_attr(windows, allow(unused_variables))]
31463147
fn set_permissions(path: &Path, permissions: u32) {
31473148
#[cfg(not(windows))]
31483149
{

0 commit comments

Comments
 (0)