mod/modfile: deprecate LatestKnownSchemaVersion
The "latest known schema version" is defined to be the
current language version which is now available as part
of the cue API. This function is not used, so deprecate
it, making it return `cueversion.LanguageVersion()` instead.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ie77d8225fbc5e12c888a7bff3d453c6e061fdf0f
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196821
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>