Improve proc macro hygiene

This commit is contained in:
J Henry Waugh
2020-08-02 19:27:19 -05:00
parent 5eed5fe6a3
commit 3136188801
19 changed files with 258 additions and 163 deletions

View File

@@ -5,7 +5,7 @@ error: this type in this position passes from Rhai by value
| ^^^^^
error[E0425]: cannot find function `test_fn` in this scope
--> $DIR/second_shared_ref.rs:18:8
--> $DIR/second_shared_ref.rs:23:8
|
18 | if test_fn(n, &true) {
23 | if test_fn(n, &true) {
| ^^^^^^^ not found in this scope