2020-08-28 05:26:05 +02:00
|
|
|
error[E0412]: cannot find type `Pointer` in this scope
|
2021-10-12 14:57:47 +02:00
|
|
|
--> ui_tests/rhai_mod_unknown_type.rs:12:27
|
2020-08-28 05:26:05 +02:00
|
|
|
|
|
|
|
|
4 | pub struct Point {
|
|
|
|
| ---------------- similarly named struct `Point` defined here
|
|
|
|
...
|
|
|
|
12 | pub fn test_fn(input: Pointer) -> bool {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
help: a struct with a similar name exists
|
|
|
|
|
|
|
|
|
12 | pub fn test_fn(input: Point) -> bool {
|
2021-10-20 09:34:21 +02:00
|
|
|
| ~~~~~
|
2020-08-28 05:26:05 +02:00
|
|
|
help: consider importing one of these items
|
|
|
|
|
|
2021-10-29 11:59:38 +02:00
|
|
|
11 | use core::fmt::Pointer;
|
|
|
|
|
|
2020-08-28 05:26:05 +02:00
|
|
|
11 | use std::fmt::Pointer;
|
|
|
|
|
|
2021-01-06 12:30:58 +01:00
|
|
|
11 | use syn::__private::fmt::Pointer;
|
2020-08-28 05:26:05 +02:00
|
|
|
|
|