Sometimes, especially in fantasies, we attribute the function typical of one thing to another thing with a different function. For example, we say "X's ears saw something", "X's heart cried for something", etc. I wonder if there is any specific term to describe these types of phrases. The only term that comes to mind is "personification", but it's something different.
Thanks to @AndyBonner, the famous quote from William Shakespeare's A Midsummer Night's Dream provides a good example for the term I'm looking for, if there is any: "The eye of man hath not heard, the ear of man hath not seen, man's hand is not able to taste, his tongue to conceive, nor his heart to report what my dream was" (4.1).