Comment #2 by stanislav.blinov — 2018-11-08T14:37:17Z
They seem to be different. In your case, it's about defining a struct inside the inlined function (note that that struct isn't event nested, i.e. __traits(isNested, S) will be false. In my case, it's about using a nested struct inside another function.
Although who knows, it may indeed boil down to the same problem in DMD's code.