Home
last modified time | relevance | path

Searched refs:suggestions (Results 1 - 13 of 13) sorted by relevance

/third_party/python/Python/
H A Dsuggestions.c193 PyObject *suggestions = calculate_suggestions(dir, name); in offer_suggestions_for_attribute_error() local
195 return suggestions; in offer_suggestions_for_attribute_error()
238 PyObject *suggestions = calculate_suggestions(dir, name); in offer_suggestions_for_name_error() local
240 if (suggestions != NULL) { in offer_suggestions_for_name_error()
241 return suggestions; in offer_suggestions_for_name_error()
248 suggestions = calculate_suggestions(dir, name); in offer_suggestions_for_name_error()
250 if (suggestions != NULL) { in offer_suggestions_for_name_error()
251 return suggestions; in offer_suggestions_for_name_error()
258 suggestions = calculate_suggestions(dir, name); in offer_suggestions_for_name_error()
261 return suggestions; in offer_suggestions_for_name_error()
[all...]
H A Dpythonrun.c1109 PyObject *suggestions = _Py_Offer_Suggestions(value); in print_exception_suggestions() local
1110 if (suggestions) { in print_exception_suggestions()
1115 if (PyFile_WriteObject(suggestions, f, Py_PRINT_RAW) < 0) { in print_exception_suggestions()
1121 Py_DECREF(suggestions); in print_exception_suggestions()
1128 Py_XDECREF(suggestions); in print_exception_suggestions()
/third_party/rust/crates/proc-macro-error/src/
H A Ddiagnostic.rs26 pub(crate) suggestions: Vec<(SuggestionKind, String, Option<SpanRange>)>,
75 suggestions: vec![], in spanned_range()
86 self.suggestions in span_range_help()
92 self.suggestions in span_range_note()
145 self.suggestions.push((SuggestionKind::Help, msg, None)); in help()
166 self.suggestions.push((SuggestionKind::Note, msg, None)); in note()
231 suggestions: &[(SuggestionKind, String, Option<SpanRange>)], in to_tokens()
237 let message = if suggestions.is_empty() { in to_tokens()
244 for (kind, note, _span) in suggestions { in to_tokens()
265 &self.suggestions, in to_tokens()
[all...]
/third_party/rust/crates/clap/clap_complete_fig/tests/snapshots/
H A Dsub_subcommands.fig.js43 suggestions: [
133 suggestions: [
H A Dfeature_sample.fig.js67 suggestions: [
H A Dspecial_commands.fig.js135 suggestions: [
H A Dvalue_hint.fig.js11 suggestions: [
/third_party/rust/crates/proc-macro-error/src/imp/
H A Ddelegate.rs29 suggestions,
46 for (kind, msg, span) in suggestions {
/third_party/rust/crates/clap/src/error/
H A Dformat.rs94 let suggestions = error.get(ContextKind::Suggested); in format_error()
95 if let Some(ContextValue::StyledStrs(suggestions)) = suggestions { in format_error()
99 for suggestion in suggestions { in format_error()
H A Dmod.rs23 use crate::parser::features::suggestions;
401 let suggestion = suggestions::did_you_mean(&bad_val, good_vals.iter()).pop();
663 let mut suggestions = vec![]; variables
672 suggestions.push(styled_suggestion);
690 suggestions.push(styled_suggestion);
700 if !suggestions.is_empty() {
703 ContextValue::StyledStrs(suggestions),
/third_party/node/deps/npm/lib/commands/
H A Drun-script.js93 const suggestions = await didYouMean(path, event)
95 `Missing script: "${event}"${suggestions}\n\nTo see a list of scripts, run:\n npm run`
/third_party/rust/crates/clap/src/parser/
H A Dparser.rs17 use crate::parser::features::suggestions;
506 let candidates = suggestions::did_you_mean( in match_arg_error()
1541 let did_you_mean = suggestions::did_you_mean_flag( in did_you_mean_error()
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_removegrain.asm324 ; Some register saving suggestions: the zero can be somewhere other than a

Completed in 9 milliseconds