This is a syllogistic fallacy, so the word refers to the subjects and predicates in a syllogism. Both premises' predicates are the same. The conclusion is that the second premise's subject is the first premise's subject. There is nothing in the argument that says All As and only As are B .
All dogs make noises.
Something made a noise. It must have been a dog. All leaves are on plants. Something is on a plant. It is a leaf.