error-with-trait-fn-impl.stderr 529 字节
Newer Older
1
warning: the feature `track_caller` is incomplete and may cause the compiler to crash
2
  --> $DIR/error-with-trait-fn-impl.rs:3:12
3 4 5 6 7 8
   |
LL | #![feature(track_caller)]
   |            ^^^^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default

9
error[E0738]: `#[track_caller]` may not be used on trait methods
10
  --> $DIR/error-with-trait-fn-impl.rs:10:5
A
Ayose 已提交
11 12 13 14 15 16
   |
LL |     #[track_caller]
   |     ^^^^^^^^^^^^^^^

error: aborting due to previous error

A
Adam Perry 已提交
17
For more information about this error, try `rustc --explain E0738`.