Yeah but it sounds simple enough. Generic parts of a specific code or known errors or something that isn't complex still falls under the same category.
You can still solve complex problems with GPT(sounds contrary to my comment) but it requires you to know what you're doing since you'd be gluing together the different pieces.
It's similar to something I saw on Twitter the other day. GPT is great at solving leetcode questions that existed on or before it's training dataset cut off date but it usually sucks at any new question that was added after that date. It isn't great at math either afaik. Sure it can and will get better but a person with skill and expertise will always be of value. This is not to mention that hallucination. There's no way to tell if it's hallucinating if you don't know the topic of question and answer.
The true essence of AI is not to replace humans but to augment and enhance them. We're still in the early-stage with all this imo. Use it to your advantage and think of it as a smart friend that you can ask doubts to and get help from. Like any technology or scientific progress, if it takes away some jobs it will also introduce new jobs