This sounds like a bug in the dead code pass, can you elaborate more? `assert_eq!(true, true)` does not yield this warning, I'm curious how you're getting it.