Refine codegen error positions.
This commit is contained in:
@@ -2,7 +2,7 @@ error: property getter requires exactly 1 parameter
|
||||
--> $DIR/rhai_fn_getter_signature.rs:13:9
|
||||
|
|
||||
13 | pub fn test_fn(input: Point, value: bool) -> bool {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
||||
--> $DIR/rhai_fn_getter_signature.rs:23:8
|
||||
|
Reference in New Issue
Block a user