Skip to content

Commit 20ca880

Browse files
committed
Revert "Rust: PrintAstNode: tolerate elements without toString"
This reverts commit 85e51bf.
1 parent 61592a3 commit 20ca880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/ql/lib/codeql/rust/printast/PrintAstNode.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class PrintAstNode extends TPrintAstNode {
6868
}
6969

7070
private string prettyPrint(Locatable e) {
71-
result = "[" + concat(e.getPrimaryQlClasses(), ", ") + "] " + concat(e.toString())
71+
result = "[" + concat(e.getPrimaryQlClasses(), ", ") + "] " + e
7272
}
7373

7474
private class Unresolved extends Locatable {

0 commit comments

Comments
 (0)