D-Programming-Language/dmd — pull request #872 by 9rnsr (2012-04-10 02:38:30+00:00)
Title: Issue 7873 - IFTI with inout does not properly match template parameter if called from inout function for pointers

http://d.puremagic.com/issues/show_bug.cgi?id=7873

Now `Type::mutableOf` always removes only top qualifier, it was introduced by the commit:
3a4dd88de8f68cfc7613fca5d5cbb74f1d1289f8

So, if you want to remove inout qualifiers from whole type structure, you should use `substWildTo(MODMutable)` instead of `mutableOf()`.