I remember seeing a page on the Apple website listing info for extended warranties in EU member countries, which I assume this specific defect in the 2011 Macbooks is covered by.
Needless to say, I sure wouldn't even want a smart phone from 6 years ago. People get upset at the USA's more-or-less forced upgrades every 2ish years, but that cadence does seem to fit the timing of when I start to feel my phone is not up to par... 2 or 3 newer generations of devices have come out since my purchase, my battery is starting to lose life (usually never covered by any warranty as this is a standard "wear-n-tear" item like car tires). I'd think a 2 or 3 year warranty should suffice in most cases.
It covers all items though, not just smartphones. If I buy a fridge or an oven I expect it last 6 years minimum. Also, I'm regularly surprised by people using very old smartphones (4-5 years).
Sure, I wouldn't expect to play all the fancy high-end mobile games (like I ever play mobile games...) that come out 6 years from now, but I see absolutely no reason I couldn't continue to use the phone for email, web browsing, facebook, etc.
It isn't 6 years throughout the EU and for every product, though. The EU directive (= the text the EU writes that tells member countries what to achieve through their laws) states (paraphrasing a lot) that consumers may expect a device they buy to be what is advertised and to last as long as a typical device of what is advertised lasts (Business-to-business is different; there, it is more 'buyer beware')
As is typical for EU directives, that isn't very specific (partly for the better, as being specific would mean that such directives need to be revised all the time) and only describes a goal, not how to reach it.
Individual countries will vary in how they translate that into law. Apparently, Norway went for a very strong consumer protection.
[1] https://www.apple.com/legal/warranty/
[2] https://www.apple.com/legal/warranty/statutoryrights.html
[3] https://www.apple.com/legal/warranty/products/uk-ireland-uni...
Apple has previously been in trouble for trying to avoid their statutory requirements here, eg http://www.smh.com.au/digital-life/digital-life-news/apple-f...