add Inline to diagnostic