tests/ui/function-body.stderr
raw| 1 | error[E0432]: unresolved import `super::MyPhantom` |
| 2 | --> tests/ui/function-body.rs:7:12 |
| 3 | | |
| 4 | 7 | struct MyPhantom<T: ?Sized>; |
| 5 | | ^^^^^^^^^ could not find `MyPhantom` in the crate root |
| 6 | |
| 7 | error[E0432]: unresolved import `self` |
| 8 | --> tests/ui/function-body.rs:6:5 |
| 9 | | |
| 10 | 6 | #[phantom] |
| 11 | | ^^^^^^^^^^ could not find `__value_MyPhantom` in the crate root |
| 12 | | |
| 13 | = note: this error originates in the attribute macro `phantom` (in Nightly builds, run with -Z macro-backtrace for more info) |