1 // Copyright 2021 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 use proc_macro::TokenStream; 6 7 #[proc_macro] calculate_using_proc_macro(_item: TokenStream) -> TokenStream8pub fn calculate_using_proc_macro(_item: TokenStream) -> TokenStream { 9 "(15 + 15)".parse().unwrap() 10 } 11