FR 7379 then FR 840 at Dublin
Marrakesh → Dublin → Edinburgh
Timetable, Dublin time
23:55FR 7379 from Marrakesh at the gate
23:10FR 840 to Edinburgh leaves the gate
23 h 15 apart on the timetable, overnight
FR 840 leaves 23 h 15 after FR 7379 arrives on the timetable: more than half a day, so not a connection we count.