rustc macro: unexpected compilation error when ty
designator is used within where clause
#97719
Labels
C-bug
Category: This is a bug.
This code doesn't seem to compile with the following error [playground]:
There should be no error since
ty
designator stands for type,std::fmt::Debug
is definitely a type and where clause accepts trait types.This problem persists on any channel I've tested it - stable, beta and nightly.
The text was updated successfully, but these errors were encountered: