Rename as_error to as_dyn_error

Created by  David Tolnay  on October 5, 2019
RD65M7RC2QYSEEW6JJGAPGB4XB6MCXKMDNHA3EU3WECBOUYNLDVQC
Change contents