The positive prognostic effect of stromal CD8+ tumor-infiltrating T cells is restrained by the expression of HLA-E in non-small cell lung carcinoma. Here, CD8A is linked to non-small cell lung carcinoma.