It is well known that newly formed planetary systems undergo processes of orbital reconfiguration and planetary migration. As a result, planets or protoplanetary objects may accrete onto the central star, being fused and mixed into its external layers. If the accreted mass is sufficiently high and the star has a sufficiently thin convective envelope, such events may result in a modification of the chemical composition of the stellar photosphere in an observable way, enhancing it with elements that were abundant in the accreted mass. The recent Gaia-ESO Survey observations of the 10-20 Myr old Gamma Velorum cluster have enabled identifying a star that is significantly enriched in iron with respect to other cluster members. In this Letter we further investigate the abundance pattern of this star, showing that its abundance anomaly is not limited to iron, but is also present in the refractory elements, whose overabundances are correlated with the condensation temperature. This finding strongly supports the hypothesis of a recent accretion of rocky material.