about summary refs log tree commit diff
path: root/tests/ui/rfcs/rfc-2091-track-caller/error-odd-syntax.stderr
blob: 6088945b829cbb6e1159fa6f1cec5867f74e4fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0565]: malformed `track_caller` attribute input
  --> $DIR/error-odd-syntax.rs:1:1
   |
LL | #[track_caller(1)]
   | ^^^^^^^^^^^^^^---^
   | |             |
   | |             didn't expect any arguments here
   | help: must be of the form: `#[track_caller]`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0565`.