Combine flour and sugar in a bowl, then rub in cold butter until mixture resembles coarse crumbs.
Add egg yolk and ice water, mixing until dough forms; shape into a disk, wrap, and chill for 30 minutes.
Preheat oven to 375°F; roll out chilled dough and press into a 9-inch tart pan; prick base with a fork.
Bake tart shell for 15-18 minutes until lightly golden; let cool completely.
Heat milk in a saucepan until warm but not boiling.
Whisk sugar, cornstarch, and egg yolks in a bowl until smooth.
Temper egg mixture by whisking in warm milk gradually, then return to saucepan.
Cook over medium heat, stirring constantly, until thickened; remove from heat and stir in butter, rosewater, and vanilla.
Cover pastry cream and let it cool completely.
Spread cooled pastry cream evenly into the tart shell.
Arrange fresh raspberries on top in a decorative pattern.
Refrigerate the tart for 1 hour to set before slicing and serving.