You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #148839 - luca3s:rtsan_ice_fix, r=WaffleLapkin
fix rtsan_nonblocking_async lint closure ICE
Fixes#148750, which i introduced in #147935.
I also added the bug report to the tests.
Copy file name to clipboardExpand all lines: tests/ui/sanitize-attr/invalid-sanitize.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,4 +37,9 @@ fn test() {
37
37
#[sanitize(realtime = "nonblocking")]//~ WARN: the async executor can run blocking code, without realtime sanitizer catching it [rtsan_nonblocking_async]
38
38
async || {}
39
39
};
40
+
41
+
let _regular_closure = {
42
+
#[sanitize(realtime = "nonblocking")]// no warning on a regular closure
0 commit comments