We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8286299 commit d151593Copy full SHA for d151593
tests/codegen/issues/issue-98678-closure-coroutine.rs
@@ -15,8 +15,8 @@ pub fn foo() {
15
let closure = |x| x;
16
closure(0);
17
18
- // NONMSVC-DAG: !DICompositeType({{.*"[{]}}coroutine_env#1{{[}]".*}}file: ![[#FILE]]{{.*}}line: [[# @LINE + 2]],
19
- // MSVC-DAG: !DICompositeType({{.*".*foo::}}coroutine_env$1>{{".*}}file: ![[#FILE]]{{.*}}line: [[# @LINE + 1]],
+ // NONMSVC-DAG: !DICompositeType({{.*"[{]}}coroutine_env#1{{[}]".*}}file: ![[#FILE]]{{.*}}line: [[# @LINE + 3]],
+ // MSVC-DAG: !DICompositeType({{.*".*foo::}}coroutine_env$1>{{".*}}file: ![[#FILE]]{{.*}}line: [[# @LINE + 2]],
20
let _coroutine = #[coroutine]
21
|| yield 1;
22
}
0 commit comments