type Base; impl Base { fn foo() { // out: NameError: struct "Base" has no super class super.doesNotExist; } } Base().foo();