coroutines: Fix a diagnostic trailing space warning.

A recently add diagnostic has a trailing space.
Fixed thus.

gcc/cp/ChangeLog:

	* coroutines.cc (morph_fn_to_coro): Remove trailing
	space in a diagnostic.
This commit is contained in:
Iain Sandoe 2020-06-30 14:59:43 +01:00
parent 3c3b422487
commit eef63aacb2

View file

@ -4119,7 +4119,7 @@ morph_fn_to_coro (tree orig, tree *resumer, tree *destroyer)
else if (!grooaf && TYPE_NOTHROW_P (TREE_TYPE (func)))
warning_at (fn_start, 0, "%qE is marked %<throw()%> or %<noexcept%> but"
" no usable %<get_return_object_on_allocation_failure%>"
" is provided by %qT ", nwname, promise_type);
" is provided by %qT", nwname, promise_type);
}
else /* No operator new in the promise. */
{