1
Fork 0

Move doc to trait declarations

This commit is contained in:
Denis Merigoux 2018-09-24 17:35:39 +02:00 committed by Eduard-Mihai Burtescu
parent ac34068ed9
commit 97825a36be
17 changed files with 124 additions and 111 deletions

View file

@ -285,12 +285,6 @@ impl DebugInfoBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> {
}
impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
/// Creates the function-specific debug context.
///
/// Returns the FunctionDebugContext for the function which holds state needed
/// for debug info creation. The function may also return another variant of the
/// FunctionDebugContext enum which indicates why no debuginfo should be created
/// for the function.
fn create_function_debug_context(
&self,
instance: Instance<'tcx>,