Open cuviper opened 4 months ago
If not specified, rustc defaults to the original 2015 edition. For many things it doesn't make much difference, but there could be new features that people want to probe that only work in newer editions. We could have something like:
rustc
impl AutoCfg { pub fn set_edition(&mut self, edition: Into<String>) { ... } }
We may need to be careful about built-in probes though, to make sure they don't care about edition differences if possible.
If not specified,
rustc
defaults to the original 2015 edition. For many things it doesn't make much difference, but there could be new features that people want to probe that only work in newer editions. We could have something like:We may need to be careful about built-in probes though, to make sure they don't care about edition differences if possible.