Skip to content

Commit

Permalink
Rollup merge of #123829 - saethlin:fix-revisions, r=jieyouxu
Browse files Browse the repository at this point in the history
Fix revisions syntax in cfg(ub_checks) test

`//@ revisions YES NO` doesn't do anything without the `:`.  Thanks for pointing this out to me.

r? jieyouxu
  • Loading branch information
matthiaskrgr committed Apr 12, 2024
2 parents 7f11183 + 5dcd242 commit 2679ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/precondition-checks/cfg-ub-checks-default.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ run-pass
//@ revisions YES NO
//@ revisions: YES NO
//@ [YES] compile-flags: -Cdebug-assertions=yes
//@ [NO] compile-flags: -Cdebug-assertions=no

Expand Down

0 comments on commit 2679ea0

Please sign in to comment.