Skip to content

Commit 9cb37db

Browse files
authored
Bump LibCST to 1.8.4 (#20321)
This should fix the fuzz build on `main`. They added support for t-strings, which made one of our matches non-exhaustive. https://github.com/Instagram/LibCST/releases/tag/v1.8.4
1 parent ed06fb5 commit 9cb37db

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jiff = { version = "0.2.0" }
115115
js-sys = { version = "0.3.69" }
116116
jod-thread = { version = "1.0.0" }
117117
libc = { version = "0.2.153" }
118-
libcst = { version = "1.1.0", default-features = false }
118+
libcst = { version = "1.8.4", default-features = false }
119119
log = { version = "0.4.17" }
120120
lsp-server = { version = "0.7.6" }
121121
lsp-types = { git = "https://github.com/astral-sh/lsp-types.git", rev = "3512a9f", features = [

crates/ruff_linter/src/rules/pyupgrade/rules/format_literals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ fn remove_specifiers<'a>(value: &mut Expression<'a>, arena: &'a typed_arena::Are
164164
stack.push(&mut string.left);
165165
stack.push(&mut string.right);
166166
}
167-
libcst_native::String::Formatted(_) => {}
167+
libcst_native::String::Formatted(_) | libcst_native::String::Templated(_) => {}
168168
}
169169
}
170170
}

0 commit comments

Comments
 (0)