]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_span/lib.rs
Remove unnecessary `const_fn` feature gates
[rust.git] / src / librustc_span / lib.rs
index a58c12f23508ac74f0744edf2021c57dd43a3570..1dc7fc5aa3ad1aec7fa4b33d7cbbfdcf225ef5e7 100644 (file)
@@ -5,7 +5,6 @@
 //! This API is completely unstable and subject to change.
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
-#![feature(const_fn)]
 #![feature(crate_visibility_modifier)]
 #![feature(nll)]
 #![feature(optin_builtin_traits)]
@@ -1052,7 +1051,7 @@ fn decode<D: Decoder>(d: &mut D) -> Result<SourceFile, D::Error> {
                 name_was_remapped,
                 unmapped_path: None,
                 // `crate_of_origin` has to be set by the importer.
-                // This value matches up with `rustc::hir::def_id::INVALID_CRATE`.
+                // This value matches up with `rustc_hir::def_id::INVALID_CRATE`.
                 // That constant is not available here, unfortunately.
                 crate_of_origin: std::u32::MAX - 1,
                 start_pos,