Crystallization under stringent cylindrical confinement leads to novel quasi-one-dimensional materials. Substances with strong cohesive interactions can eventually preserve the symmetries of their bulk phase compatible with the restricted geometry, while those with weak cohesive interactions develop qualitatively different structures. Frozen molecular deuterium (D2), a solid with a strong quantum character, is structurally held by weak dispersive forces. Here, the formation of one-dimensional D2 crystals under carbon nanotube confinement is reported. In contradiction with its weak cohesive interactions, their structures, scrutinized using neutron scattering, correspond to definite cylindrical sections of the hexagonal close-packed bulk crystal. The results are rationalized on the grounds of numerical calculations, which point towards nuclear quantum delocalization as the physical mechanism responsible for the stabilization of such outstanding structures.