The trigger has no effect on the ability of hte gun.
It does have an effect on the ability of the shooter though.
I've rarely seen a sub par barrel give top of the line performance, but i'm picky...
Obviously bedding has to be right.
But beyond that the reciever/barrel combo, and it is a single thing in reality, all have to be right.