For example, say your rent is $1000 and your salary is $100k. A 10% increase of rent is $100; a 1% salary increase is $1000. Net gain $900.
Then, on top of all that, your salary increase is taxable. A $1,000 salary increase will only get you about an extra $600 per year. So, you're certainly not coming out ahead.
My actual numbers are a $300/month rent increase (which totals $3,600 more per year for the same space and the same services) combined with a less than $3,000 pre-tax raise for the year.
Also see any generic michaelochurch rant about how landlords try to capture all economic gains (and they require "proof of income" so they know how much you _could_ afford if you really had to).
That's why fixed-rate mortgages are so great. Your housing payment is guaranteed not to rise! (taxes notwithstanding)