diff options
| author | Bryan Garza <1396101+bryangarza@users.noreply.github.com> | 2022-11-22 21:15:27 +0000 |
|---|---|---|
| committer | Bryan Garza <1396101+bryangarza@users.noreply.github.com> | 2022-12-21 03:23:08 +0000 |
| commit | 04926e0534be77ed1b33602057d60d0bb14c1d66 (patch) | |
| tree | dda4c4cc31b9ca45cd7c31beb7316b784731da9b /src/test/codegen/src-hash-algorithm | |
| parent | 1d12c3cea30b8ba4a09650a9e9c46fe9fbe25f0b (diff) | |
| download | rust-04926e0534be77ed1b33602057d60d0bb14c1d66.tar.gz rust-04926e0534be77ed1b33602057d60d0bb14c1d66.zip | |
Switch `#[track_caller]` back to a no-op unless feature gate is enabled
This patch fixes a regression, in which `#[track_caller]`, which was previously a no-op, was changed to actually turn on the behavior. This should instead only happen behind the `closure_track_caller` feature gate. Also, add a warning for the user to understand how their code will compile depending on the feature gate being turned on or not. Fixes #104588
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
