Since 1995, planets with masses comparable to that of Jupiter have been discovered around approximately 60 stars. These planets have not been seen directly, but their presence has been inferred from the small reflex motions that they gravitationally induce on the star they orbit; these motions result in small periodic wavelength shifts in the stellar spectrum. The presence of analogues of the smaller bodies in our Solar System cannot, however, be determined using this technique, because the induced reflex motions are too small-so an alternative approach is needed. Here we report the observation of circumstellar water vapour around the ageing carbon star IRC+10216; water is not expected in measurable quantities around such a star. The only plausible explanation for this water is that the recent evolution of IRC+10216, which has been accompanied by a prodigious increase in its luminosity, is causing the vaporization of a collection of orbiting icy bodies-a process considered in an earlier theoretical study.