Fixed shadowed lifetimes in lib/codegen.rs, lib/stream.rs, lib/maybe_owned_slice.rs