Rollup merge of #40386 - tbu-:pr_display_frombyteswithnulerror, r=alexcrichton
Rollup merge of #40386 - tbu-:pr_display_frombyteswithnulerror, r=alexcrichton

Distinguish the ways `CStr::from_bytes_with_nul` can fail

graydon/rust,GBGamer/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,GBGamer/rust,graydon/rust,aidancully/rust,GBGamer/rust,graydon/rust,graydon/rust,GBGamer/rust,aidancully/rust,aidancully/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust