diff options
Diffstat (limited to 'bin/tests/snapshots/main__deprecated_is_null.snap')
-rw-r--r-- | bin/tests/snapshots/main__deprecated_is_null.snap | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__deprecated_is_null.snap b/bin/tests/snapshots/main__deprecated_is_null.snap new file mode 100644 index 0000000..d49b381 --- /dev/null +++ b/bin/tests/snapshots/main__deprecated_is_null.snap | |||
@@ -0,0 +1,13 @@ | |||
1 | --- | ||
2 | source: bin/tests/main.rs | ||
3 | expression: "&out" | ||
4 | |||
5 | --- | ||
6 | [W13] Warning: Found usage of deprecated builtin isNull | ||
7 | ╭─[data/deprecated_is_null.nix:4:4] | ||
8 | │ | ||
9 | 4 │ if isNull e | ||
10 | · ────┬─── | ||
11 | · ╰───── isNull is deprecated, check equality with null instead | ||
12 | ───╯ | ||
13 | |||