Skip to content

Commit 6c2da4b

Browse files
committed
Rust: Add deprecation notice to deprecated MaD extension predicates
1 parent 7c986d8 commit 6c2da4b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

rust/ql/lib/codeql/rust/dataflow/internal/ModelsAsData.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ private import codeql.rust.dataflow.FlowSource
4949
private import codeql.rust.dataflow.FlowSink
5050

5151
/**
52+
* DEPRECATED: This predicate will be replaced by an alternative implementation
53+
* in the future, which uses a slightly different format.
54+
*
5255
* Holds if in a call to the function with canonical path `path`, defined in the
5356
* crate `crate`, the value referred to by `output` is a flow source of the given
5457
* `kind`.
@@ -64,6 +67,9 @@ extensible predicate sourceModelDeprecated(
6467
);
6568

6669
/**
70+
* DEPRECATED: This predicate will be replaced by an alternative implementation
71+
* in the future, which uses a slightly different format.
72+
*
6773
* Holds if in a call to the function with canonical path `path`, defined in the
6874
* crate `crate`, the value referred to by `input` is a flow sink of the given
6975
* `kind`.
@@ -80,6 +86,9 @@ extensible predicate sinkModelDeprecated(
8086
);
8187

8288
/**
89+
* DEPRECATED: This predicate will be replaced by an alternative implementation
90+
* in the future, which uses a slightly different format.
91+
*
8392
* Holds if in a call to the function with canonical path `path`, defined in the
8493
* crate `crate`, the value referred to by `input` can flow to the value referred
8594
* to by `output`.

0 commit comments

Comments
 (0)