about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-16 06:02:25 +0000
committerbors <bors@rust-lang.org>2023-10-16 06:02:25 +0000
commit9ace9da2e050ff30f07a30323e5b3b3fcb63cd8f (patch)
tree346ec7b19f035388ee78050cda4f0fbdf0749ee3 /compiler/rustc_errors/src
parent99592fdfa14ecbcf0f42f97d2cfa5ef8f3c289fe (diff)
parent8feb7c55fe8cfdfe0c222a4123528b16d33afc59 (diff)
downloadrust-9ace9da2e050ff30f07a30323e5b3b3fcb63cd8f.tar.gz
rust-9ace9da2e050ff30f07a30323e5b3b3fcb63cd8f.zip
Auto merge of #116782 - matthiaskrgr:rollup-t3yrgku, r=matthiaskrgr
Rollup of 3 pull requests

Successful merges:

 - #115196 (Suggest adding `return` if the for semi which can coerce to the fn return type)
 - #115955 (Stabilize `{IpAddr, Ipv6Addr}::to_canonical`)
 - #116776 (Enable `review-requested` feature for rustbot)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index c2af7f38d70..da74ee6391a 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -507,6 +507,7 @@ pub enum StashKey {
     CallAssocMethod,
     TraitMissingMethod,
     OpaqueHiddenTypeMismatch,
+    MaybeForgetReturn,
 }
 
 fn default_track_diagnostic(d: &mut Diagnostic, f: &mut dyn FnMut(&mut Diagnostic)) {