Issue 19668 & Usage of Sess() function

This is a response to Issue 19668 (implementing ```span_lint_note```), and also replaces the use of self.tcx.sess with the existing but unused function sess().