https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92727
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Are you suggesting that everything inside libstdc++ code should be treated as a black box for the purposes of diagnostics, so that the location of the actual problem: error: use of deleted function ‘X::X(const X&)’ is shown as the "entry point" into the library code, i.e. the call to push_back in the user's code? That would be novel, and very unpopular with some people (who do want to be able to examine the library headers and see how/why they got to that point and what didn't compile).