Subject: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error

From: Eli Zaretskii <[email-masked]>
Date: Thu, 12 Oct 2017 18:15:27 +0300

> From: Kaushal Modi <[email-masked]>
> Date: Thu, 12 Oct 2017 15:07:35 +0000
> Cc: [email-masked], Noam Postavsky <[email-masked]>, 
> 	Drew Adams <[email-masked]>
> 
> why does that error show up on trashing (i.e. moving, not deleting) a directory,
> dependent on the value of trash-directory and the location of the directory I am trying to trash?

Because one directory already includes a file/directory of the same
names as the one you are trying to trash, whereas the other one does
not.