For example, when renaming a::b::x::foo to y::foo below, replacing
x::foo() with y::foo() can cause ambiguity. In such cases, we simply fully
qualify the name with leading ::.
namespace a { namespace b { namespace x { void foo() {} } namespace y { void foo() {} } } } namespace a { namespace b { void f() { x::foo(); } } }