If we have install cargo with rustlang script
its add cargo source comamnd to the ~/.profile
.
So after removing cargo binary from system tmux in every session will generate error complaning that cargo path is not found.
Simply remove correspond line from ~/.profile