I'd like to render a certain object so that it is visible no matter what is between it and the camera, rather like the "In Front" viewport option (formerly "X-ray").
Previously this would be done with Render Layers, but since v2.80 has sort of given those the axe, that is hardly an option.
How would I accomplish this effect in a Cycles render in 2.80 without render layers?