Self-induced dust traps around snow lines in protoplanetary discs