]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2091-track-caller/only-for-fns.stderr
Rollup merge of #69888 - wesleywiser:miri_exception_env_var_to_session_var, r=RalfJung
[rust.git] / src / test / ui / rfc-2091-track-caller / only-for-fns.stderr
1 error[E0739]: attribute should be applied to function
2   --> $DIR/only-for-fns.rs:3:1
3    |
4 LL | #[track_caller]
5    | ^^^^^^^^^^^^^^^
6 LL | struct S;
7    | --------- not a function
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0739`.