fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB31 linesraw
1warning: `#[track_caller]` on async functions is a no-op
2  --> $DIR/panic-track-caller.rs:53:1
3   |
4LL |   #[track_caller]
5   |   ^^^^^^^^^^^^^^^
6...
7LL | / async fn bar_track_caller() {
8LL | |     panic!()
9LL | | }
10   | |_- this function will not propagate the caller location
11   |
12   = note: see issue #110011 <https://github.com/rust-lang/rust/issues/110011> for more information
13   = help: add `#![feature(async_fn_track_caller)]` to the crate attributes to enable
14   = note: `#[warn(ungated_async_fn_track_caller)]` on by default
15
16warning: `#[track_caller]` on async functions is a no-op
17  --> $DIR/panic-track-caller.rs:67:5
18   |
19LL |       #[track_caller]
20   |       ^^^^^^^^^^^^^^^
21...
22LL | /     async fn bar_assoc() {
23LL | |         panic!();
24LL | |     }
25   | |_____- this function will not propagate the caller location
26   |
27   = note: see issue #110011 <https://github.com/rust-lang/rust/issues/110011> for more information
28   = help: add `#![feature(async_fn_track_caller)]` to the crate attributes to enable
29
30warning: 2 warnings emitted
31