Open pnkfelix opened 5 years ago
Previous instances of related (or possibly the same) problems:
I think this is essentially the same problem as https://github.com/rust-lang/rust/issues/59333#issuecomment-477820887.
Seems to be fixed. Tested with 1.73 and got no warnings.
Consider the following code (play):
Today this emits the following warning diagnostic:
But that type alias is not dead code. It is used in the
impl Clone for S<T> { ... }
, as one can see by trying to recompile the code after commenting out the type alias.