Logical fallacy
Negative conclusion from affirmative premises
A categorical syllogism uses premises that only assert membership or overlap to conclude that one class is excluded from another. The premises leave open the overlap the conclusion denies.
Examples
Every mason is a tradesperson. Every carpenter is a tradesperson. So no mason can be a carpenter.
All beagles are dogs. Some dogs are rescue animals. Therefore some beagles are not rescue animals.
A similar case that can be sound
Every beagle is a dog. No dogs are birds. Therefore no beagle is a bird.