diff options
| author | bors <bors@rust-lang.org> | 2025-09-25 10:30:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-09-25 10:30:50 +0000 |
| commit | 7cfd7d328b14b936c7ffede92cacebe8557c6388 (patch) | |
| tree | 96d690bc6e6acdfb369bdc003ba5254b76002711 /compiler/rustc_middle/src | |
| parent | bbcbc7818ba27c951f9fd881fd3ec4cd5123b741 (diff) | |
| parent | 57ee169ff281fcdfd02384ef0760f4ce8162478f (diff) | |
| download | rust-7cfd7d328b14b936c7ffede92cacebe8557c6388.tar.gz rust-7cfd7d328b14b936c7ffede92cacebe8557c6388.zip | |
Auto merge of #147003 - matthiaskrgr:rollup-b5z9uiz, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - rust-lang/rust#146556 (Fix duration_since panic on unix when std is built with integer overflow checks) - rust-lang/rust#146679 (Clarify Display for error should not include source) - rust-lang/rust#146753 (Improve the pretty print of UnstableFeature clause) - rust-lang/rust#146894 (Improve derive suggestion of const param) - rust-lang/rust#146950 (core: simplify `CStr::default()`) - rust-lang/rust#146958 (Fix infinite recursion in Path::eq with String) - rust-lang/rust#146971 (fix ICE in writeback due to bound regions) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/ty/print/pretty.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/print/pretty.rs b/compiler/rustc_middle/src/ty/print/pretty.rs index 1b7ef8de845..8f7c8170f7a 100644 --- a/compiler/rustc_middle/src/ty/print/pretty.rs +++ b/compiler/rustc_middle/src/ty/print/pretty.rs @@ -3177,8 +3177,7 @@ define_print! { write!(p, "` can be evaluated")?; } ty::ClauseKind::UnstableFeature(symbol) => { - write!(p, "unstable feature: ")?; - write!(p, "`{symbol}`")?; + write!(p, "feature({symbol}) is enabled")?; } } } |
