Some races, for instance a kobold, have a disadvantage of Sunlight Sensitivity:
Sunlight Sensitivity. While in sunlight, the kobold has disadvantage on attack rolls, as well as on Wisdom (Perception) checks that rely on sight.
The Totem Barbarian gains a feature called "Aspect of the Beast" at level 6. The player can choose as animal as a totem and gain some aspect of them.
The aspect of "Eagle" states:
You gain the eyesight of an eagle. You can see up to 1 mile away with no difficulty, able to discern even fine details as though looking at something no more than 100 feet away from you. Additionally, dim light doesn’t impose disadvantage on your Wisdom (Perception) checks.
So how would this play out?
By nature, the kobold has disadvantage in sunlight (both being and seeing things within). But the Barbarian feature clearly states they can see "…up to 1 mile away with no difficulty".
Would the "no difficulty" cancel out the issue with seeing something in the sunlight? Specifically, would they be able to perceive (up to a mile) without a disadvantage?
Note: I’m ignoring the factor of the kobold BEING in the sunlight as they can be in a building, under an umbrella, whatever. I’m specifically curious about how well they can see.