Olivia Wilde appears to have fallen for her Don't Worry Darling co-star Harry Styles after attending a wedding as the pop star's date.