Remove some unnecessary type casts

Conflicts:
	src/librustc/middle/lint.rs