(&self, word: Word, reason: &str)
| 52 | } |
| 53 | |
| 54 | pub fn zombie(&self, word: Word, reason: &str) { |
| 55 | if let Some(current_span) = self.current_span { |
| 56 | self.zombie_with_span(word, current_span, reason); |
| 57 | } else { |
| 58 | self.zombie_no_span(word, reason); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | pub fn validate_atomic(&self, ty: Word, to_zombie: Word) { |
| 63 | if !self.i8_i16_atomics_allowed { |
no test coverage detected