mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Fix relative lines in coroutine test
This commit is contained in:
parent
8286299742
commit
d151593781
@ -15,8 +15,8 @@ pub fn foo() {
|
||||
let closure = |x| x;
|
||||
closure(0);
|
||||
|
||||
// NONMSVC-DAG: !DICompositeType({{.*"[{]}}coroutine_env#1{{[}]".*}}file: ![[#FILE]]{{.*}}line: [[# @LINE + 2]],
|
||||
// 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]],
|
||||
let _coroutine = #[coroutine]
|
||||
|| yield 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user