]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/method/probe.rs
rename epoch to edition
[rust.git] / src / librustc_typeck / check / method / probe.rs
index 4d344eb2799032f3d293ca72d169a5a3adf450cb..c7921d2bd45889645d5aa559158430d3fc7b868b 100644 (file)
@@ -326,7 +326,7 @@ fn create_steps(&self,
                     if reached_raw_pointer
                     && !self.tcx.features().arbitrary_self_types {
                         // this case used to be allowed by the compiler,
-                        // so we do a future-compat lint here for the 2015 epoch
+                        // so we do a future-compat lint here for the 2015 edition
                         // (see https://github.com/rust-lang/rust/issues/46906)
                         if self.tcx.sess.rust_2018() {
                           span_err!(self.tcx.sess, span, E0908,