Merge pull request #70 from MichalObi/fix/disable-warning-on-test-and-bench
Disable warning about dead code on test and bench
commit7524ceb2033ead581bd54077e50f0a3a58d810a0
authorNick Fitzgerald <fitzgen@gmail.com>
dateWed 1 May 2019, 09:42 (7 years ago)
parentc5925c44463cb6
src/change_list/emitter.rsmode 100644 → 100755+1
@@ -30,6 +30,7 @@ impl InstructionEmitter {
3030
3131 /// Invoke the given function with each of the allocated instruction
3232 /// sequences that this emitter has built up.
33+ #[cfg_attr(feature = "xxx-unstable-internal-use-only", allow(dead_code))]
3334 pub fn each_instruction_sequence<F>(&mut self, f: F)
3435 where
3536 F: FnMut(&[u8]),