If you place a torch on a block on the side, then place a redstone dust in the block it is occupying(etc. on the top surface of the block under the torch) the torch will disappear and the redstone dust will appear in its place. Same applies for levers.
Related issues
Comments

Duplicate of MC-68718