mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Rust: add default Element::toString
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
private import codeql.rust.generated.Element
|
||||
|
||||
class Element extends Generated::Element {
|
||||
override string toString() { result = this.getAPrimaryQlClass() }
|
||||
|
||||
predicate isUnknown() { none() } // compatibility with test generation, to be fixed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user