Improved diagnostics to report cases where FindBox is called without a literal