]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_error_codes/src/error_codes/E0739.md
New upstream version 1.68.2+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0739.md
1 `#[track_caller]` can not be applied on struct.
2
3 Erroneous code example:
4
5 ```compile_fail,E0739
6 #[track_caller]
7 struct Bar {
8 a: u8,
9 }
10 ```
11
12 [RFC 2091]: https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md