I like staying at home but not going out.这句话有语法错误吗?but not在这里可以用吗

问题描述:

I like staying at home but not going out.这句话有语法错误吗?
but not在这里可以用吗

一般不这样用,可以改成instead of 或者rather than