fix(rust): adapt to a few new nightly lints

This commit is contained in:
Will Lillis 2024-12-28 01:17:04 -05:00 committed by GitHub
parent 48fe030bdd
commit 4f9869142f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -5337,11 +5337,12 @@ fn test_query_execution_with_timeout() {
}
#[test]
fn idk() {
fn test_query_execution_with_points_causing_underflow() {
let language = get_language("rust");
let mut parser = Parser::new();
parser.set_language(&language).unwrap();
#[allow(clippy::literal_string_with_formatting_args)]
let code = r#"fn main() {
println!("{:?}", foo());
}"#;