chore: Upgrade Rust to 1.67.0 (#3125)

This commit is contained in:
Micha Reiser 2023-02-22 16:03:17 +01:00 committed by GitHub
parent ed33b75bad
commit ffd8e958fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 8 deletions

View file

@ -103,7 +103,7 @@ mod tests {
let snapshot_path = Path::new(&workspace_path)
.join("src/snapshots")
.join(&format!(
.join(format!(
"{module_path}__{}.snap",
snapshot_name.replace(&['/', '\\'][..], "__")
));

View file

@ -757,7 +757,7 @@ pub struct TriviaIndex {
pub withitem: FxHashMap<usize, Vec<Trivia>>,
}
fn add_comment<'a>(comment: Trivia, node: &Node<'a>, trivia: &mut TriviaIndex) {
fn add_comment(comment: Trivia, node: &Node, trivia: &mut TriviaIndex) {
match node {
Node::Mod(_) => {}
Node::Stmt(node) => {