diff options
| author | Adam Perry <lol@anp.lol> | 2020-05-21 16:43:39 -0700 |
|---|---|---|
| committer | Adam Perry <lol@anp.lol> | 2020-06-30 22:22:32 -0700 |
| commit | f07d10db7cf9a985c5fcb4187825642207134970 (patch) | |
| tree | 0554dcfdae0a12bb52d427d9093ad59f238049c2 /src/librustc_errors | |
| parent | d462551a8600e57d8b6f87e71ea56868bc5da6cf (diff) | |
| download | rust-f07d10db7cf9a985c5fcb4187825642207134970.tar.gz rust-f07d10db7cf9a985c5fcb4187825642207134970.zip | |
Stabilize `#[track_caller]`.
Does not yet make its constness stable, though. Use of `Location::caller` in const contexts is still gated by `#![feature(const_caller_location)]`.
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index 0c1418d3cad..362913ceadf 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -5,7 +5,7 @@ #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")] #![feature(crate_visibility_modifier)] #![feature(nll)] -#![feature(track_caller)] +#![cfg_attr(bootstrap, feature(track_caller))] pub use emitter::ColorConfig; |
