There is probably some bug in rustc which result in an invalid compilation when using an `expect` at the given position. I'm still not sure why this is happening, but this fix should fix it for now.