Skip to content

Commit 48b9896

Browse files
Fix unit test after pgo-use change.
1 parent 1de93a7 commit 48b9896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3211,7 +3211,7 @@ mod tests {
32113211
assert_ne!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
32123212

32133213
opts = reference.clone();
3214-
opts.debugging_opts.pgo_use = String::from("abc");
3214+
opts.debugging_opts.pgo_use = Some(PathBuf::from("abc"));
32153215
assert_ne!(reference.dep_tracking_hash(), opts.dep_tracking_hash());
32163216

32173217
opts = reference.clone();

0 commit comments

Comments
 (0)