T lymphocyte SHP2-deficiency triggers anti-tumor immunity to inhibit colitis-associated cancer in mice. Here, PTPN11 is linked to cancer.