May 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23908

          Issue ID: 23908
           Summary: confusing nonexistent import hint on cyclic import
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: dkorpel@live.nl

If you have module a, and import something non existent from module b:

```
module a;
import b : nonexistent;
```

```
module b;
import a;
```

The error message is:
```
a.d(3): Error: module `b` import `nonexistent` not found, did you mean alias
`a.nonexistent`?
```

It's suggesting the very alias that the error is about, which obviously won't work.

--