Changed `extern crate foo as bar;` error message

I did not put the crate name in the error note, if that's necessary I'll look into it.

Closes #17709
I think this should be an error (`span_err`).