Mineshaft can be generated in bedrock. In this case, the mineshaft does not replace the bedrock, but is simply generated in the bedrock. The bedrock can block the entire mineshaft corridor and it doesn't make any sense.
Also very often the mineshaft is generated so low that the bedrock is visible on the floor. I believe that the bedrock should not be on the surface.
Steps to reproduce:
- Create a world with the specified seed.
- Visit the specified coordinates.
- Consider generating mineshaft.
Mineshaft can be generated directly in the bedrock (not replacing the bedrock).
Mineshaft will not generate in bedrock (so low).