The Rodrigues rail (Erythromachus leguati), also known as Leguat's gelinote or Leguat's rail, is an extinct species of the rail family that was endemic to the Mascarene island of Rodrigues. The bird was first documented from life by two accounts from 1691–93 and 1725–26. Subfossil remains were later discovered and correlated with the old accounts in 1874, and the species was named E. leguati in Leguat's honour. It is generally kept in its own genus, Erythromachus, but has sometimes been assigned to the genus Aphanapteryx along with its close relative the red rail (A. bonasia) of Mauritius; their relationship with other rails is unclear.
The Rodrigues rail was about long and weighed at least . It was described as having grey plumage, a red beak, red legs, and a naked red patch around the eye. The beak was long and curved downwards. It was flightless and fed on tortoise eggs. It was described as being attracted to red objects, which humans exploited while hunting it. The Rodrigues rail is believed to have become extinct in the mid-18th century mainly because of predation by introduced cats and hunting.
In 1848, the English zoologist Hugh Edwin Strickland called attention to a bird mentioned in the French traveller François Leguat's 1708 memoir A New Voyage to the East Indies about his stay on the Mascarene island of Rodrigues from 1691–93. Leguat was the leader of a group of nine French Huguenot refugees who settled on Rodrigues after they were marooned there. Leguat referred to the birds as "gelinottes" (translated as "wood-hens"), a name Strickland thought implied the grouse of Europe, though this was not consistent with the form of the beak described by Leguat. Strickland was unable to classify the bird further, but noted similarities with the dodo and kiwi, based on unidentified birds from Mauritius illustrated by the travellers Pieter van den Broecke and Sir Thomas Herbert, which he thought related. Strickland also noted similarities with a bird from Mauritius, which would later be identified as the red rail (Aphanapteryx bonasia).