Re: [C++ PATCH] Tweak concept diagnostics

2019-12-06 Thread Jason Merrill
On 12/6/19 3:20 PM, Jakub Jelinek wrote: Hi! I've noticed that while for requires keyword we have a diagnostics like error_at (cp_lexer_peek_token (parser->lexer)->location, "% only available with " "%<-std=c++2a%> or %<-fconcepts%>"); for con

[C++ PATCH] Tweak concept diagnostics

2019-12-06 Thread Jakub Jelinek
Hi! I've noticed that while for requires keyword we have a diagnostics like error_at (cp_lexer_peek_token (parser->lexer)->location, "% only available with " "%<-std=c++2a%> or %<-fconcepts%>"); for concept keyword we emit inform (location,