You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dot.rs
    path of file: ./repos/mun/crates/mun_language_server/src/completion
    
    the code of the file until where you have to start completion: use mun_hir::Upcast;

use super::{CompletionContext, Completions};

/// Complete dot accesses, i.e. fields. Adds `CompletionItems` to `result`.
pub(super) fn complete_dot(result: &mut Complet
    
    fn test_tuple_struct() {
        insta::assert_snapshot!(completion_string(
            r#"
        struct FooBar(i32, i32)
        
        fn foo() {
            let bar = FooBar(0,0);
            bar.$0
        }
        "#,
            Some(CompletionKind::Reference)
        ));
    }