about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-17 09:11:20 +0100
committerGitHub <noreply@github.com>2025-01-17 09:11:20 +0100
commit1360e76329a1e3b4590f9f1998779d663e0da003 (patch)
tree63609aaa5bbc9a876366bfc42e077315183d7370 /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
parent82804078d8e5022739d4314a46a67b6023c29e7d (diff)
parent9bdc65866ced6531e988674324ffc72af817c880 (diff)
downloadrust-1360e76329a1e3b4590f9f1998779d663e0da003.tar.gz
rust-1360e76329a1e3b4590f9f1998779d663e0da003.zip
Rollup merge of #135604 - estebank:docs-e0207, r=jieyouxu
Expand docs for `E0207` with additional example

Add an example to E0207 docs showing how to tie the lifetime of the self type to an associated type in an impl when the trait *doesn't* have a lifetime to begin with.

CC #135589.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions