]> git.proxmox.com Git - rustc.git/blobdiff - vendor/anyhow/src/chain.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / vendor / anyhow / src / chain.rs
index 207e4f0ca9d607ae93c968e7a242e79e034346bc..f7baff29f14e3ff84ea99eecadca1197c2520ecb 100644 (file)
@@ -24,6 +24,7 @@ pub(crate) enum ChainState<'a> {
 }
 
 impl<'a> Chain<'a> {
+    #[cold]
     pub fn new(head: &'a (dyn StdError + 'static)) -> Self {
         Chain {
             state: ChainState::Linked { next: Some(head) },