This version of syn is more picky about parsing ItemImplFn. Previously it would accept "pub fn foo(&self);" and consider the ";" to be the function's Block. But now it (technically correctly) doesn't recognize that as a valid ItemImplFn. So instead we'll have to parse that as a combination of a Visibility and a TraitItemFn.
This version of syn is more picky about parsing ItemImplFn. Previously it would accept "pub fn foo(&self);" and consider the ";" to be the function's Block. But now it (technically correctly) doesn't recognize that as a valid ItemImplFn. So instead we'll have to parse that as a combination of a Visibility and a TraitItemFn.