(&mut self, id: &KId<M>)
| 266 | |
| 267 | pub fn get_const(&mut self, id: &KId<M>) -> Result<KConst<M>, TcError<M>> { |
| 268 | self |
| 269 | .try_get_const(id)? |
| 270 | .ok_or_else(|| TcError::UnknownConst(id.addr.clone())) |
| 271 | } |
| 272 | |
| 273 | pub fn has_const(&mut self, id: &KId<M>) -> Result<bool, TcError<M>> { |
no test coverage detected