about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/error_codes/E0739.md
blob: 5403405ca9dc11ebaff8d041916919ae8475d894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#### Note: this error code is no longer emitted by the compiler.

`#[track_caller]` must  be applied to a function

Erroneous code example:

```ignore (no longer emitted)
#[track_caller]
struct Bar {
    a: u8,
}
```

[RFC 2091]: https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md