error[E0261]: use of undeclared lifetime name `'missing` --> $DIR/eval-caching-error-region.rs:7:6 | LL | &'missing Self: Add, | ^^^^^^^^ undeclared lifetime | = note: for more information on higher-ranked polymorphism, visit https://doc.rust-lang.org/nomicon/hrtb.html help: consider making the bound lifetime-generic with a new `'missing` lifetime | LL | for<'missing> &'missing Self: Add, | +++++++++++++ help: consider introducing lifetime `'missing` here | LL | pub trait Numoid<'missing>: Sized | ++++++++++ error[E0369]: cannot add `N` to `&N` --> $DIR/eval-caching-error-region.rs:19:16 | LL | let _ = &a + a; | -- ^ - N | | | &N | help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement | LL | pub fn compute(a: N) where &N: Add { | ++++++++++++++++ error: aborting due to 2 previous errors Some errors have detailed explanations: E0261, E0369. For more information about an error, try `rustc --explain E0261`.