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: create.rs
    path of file: ./repos/crates.io/src/tests/routes/me/tokens
    
    the code of the file until where you have to start completion: use crate::util::insta::{self, assert_json_snapshot};
use crate::util::{RequestHelper, TestApp};
use crates_io::models::token::{CrateScope, EndpointScope};
use crates_io::models::ApiToken;
use diesel::prelude::*;
us
    
fn create_token_no_name() {
    let (_, _, user) = TestApp::init().with_user();
    let empty_name: &[u8] = br#"{ "api_token": { "name": "" } }"#;
    let response = user.put::<()>("/api/v1/me/tokens", empty_name);
    assert_eq!(response.status(), StatusCode::BAD_REQUEST);
    assert_eq!(
        response.json(),
        json!({ "errors": [{ "detail": "name must have a value" }] })
    );
}