The solution to this problem is to explicitly tell the compiler that T::bar is in fact a type.
解决问题的最终办法，就是显式地告诉编译器，T::bar是一个类型名。