Note that here, the light bulb is shown one line higher than needed:  rust-analyzer version: unreleased (c9fc725) P.S.: Also note that it shows "change return type to `Result`" assist which is redundant here, since return type is `Result` already.