diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-23 04:26:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-23 04:26:04 +0100 |
| commit | 5ed9d7ebb662ad993e9f2e8c70575fb27cd45041 (patch) | |
| tree | 02634cf6a1d092d5781e3ca0f755abe1cff0a8c7 /src/libstd/sys | |
| parent | e4b01c7791446b2f79a1b1d517223378df2bf5f2 (diff) | |
| parent | 69bd46a6a18a5b44972ccebb96de1294f4b760b1 (diff) | |
| download | rust-5ed9d7ebb662ad993e9f2e8c70575fb27cd45041.tar.gz rust-5ed9d7ebb662ad993e9f2e8c70575fb27cd45041.zip | |
Rollup merge of #69251 - anp:track-caller-in-traits, r=eddyb
#[track_caller] in traits Per https://github.com/rust-lang/rust/issues/47809#issuecomment-572791760, this allows the `#[track_caller]` attribute on trait methods. Includes tests for `#[track_caller]` with: * "regular" trait impls * default trait impls * "blanket-tracked" trait impls, where the annotation is in the trait definition and is inherited by "regular" impls of the trait
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
