blob: 8d9039bef93f6da0bedc75231f51bb5b403d73d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
`#[track_caller]` can not be applied on struct.
Erroneous code example:
```compile_fail,E0739
#[track_caller]
struct Bar {
a: u8,
}
```
[RFC 2091]: https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md
|