aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/gen_unstable_future_descriptor.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/xtask/src/codegen/gen_unstable_future_descriptor.rs b/xtask/src/codegen/gen_unstable_future_descriptor.rs
index 84849d3d5..fee68c365 100644
--- a/xtask/src/codegen/gen_unstable_future_descriptor.rs
+++ b/xtask/src/codegen/gen_unstable_future_descriptor.rs
@@ -21,7 +21,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
21 .args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"]) 21 .args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"])
22 .output()?; 22 .output()?;
23 Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).output()?; 23 Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).output()?;
24 //TODO: check git, and do pull
25 24
26 let src_dir = path.join("src/doc/unstable-book/src"); 25 let src_dir = path.join("src/doc/unstable-book/src");
27 let files = WalkDir::new(src_dir.join("language-features")) 26 let files = WalkDir::new(src_dir.join("language-features"))
@@ -50,7 +49,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
50 let ts = quote! { 49 let ts = quote! {
51 use crate::completion::LintCompletion; 50 use crate::completion::LintCompletion;
52 51
53 #[rustfmt::skip]
54 pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[ 52 pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[
55 #(#definitions),* 53 #(#definitions),*
56 ]; 54 ];